Basic Docker Terminologies

1. Container

A container is like a box that holds your application and everything it needs to run, such as libraries and settings. Containers are lightweight and can run anywhere without issues.

Points to remember:-

containers are isolate…


This content originally appeared on DEV Community and was authored by Easy Tuts

1. Container

A container is like a box that holds your application and everything it needs to run, such as libraries and settings. Containers are lightweight and can run anywhere without issues.

Points to remember:-

  • containers are isolated (independent of other containers).
  • Portable: You can move containers from one computer to another easily.

2. Image

An image is a template used to create containers. It includes the app code and everything needed to run it.

Think Image like an Operating System in which multiple container can run.

Image containing of multiple container

Points to remember:-

  • Read-Only: Once created, you can't change an image.
  • Layered: Images are built in layers, making them efficient and easy to update.

3. Dockerfile

A Dockerfile is a simple text file with instructions on how to build an image. It tells Docker what to include in the image.

Points to remember:-

  • Dockerfile does't have any extension and the file name should be written as "Dockerfile".

Docker file Image

4. Docker Compose

Docker Compose is a tool that helps you manage multiple containers at once. You can set everything up in one file, making it easier to run complex apps.

Points to remember:-

  • Multi-Container Setup: You can define several containers that work together.
  • User-Friendly: It makes running and managing apps simpler.

5. Volume

A volume is a way to store data outside of a container. This means that even if you delete a container, the data stays safe.

Points to remember:-

  • Persistent Storage: Keeps your data even if the container stops or is removed.
  • Shareable: You can use the same volume in different containers.

6. Network

A network allows containers to talk to each other and to other systems. It helps everything connect smoothly.

Points to remember:-

  • Communication: Containers can send messages to each other.
  • Isolation: You can create separate networks for different apps.


This content originally appeared on DEV Community and was authored by Easy Tuts


Print Share Comment Cite Upload Translate Updates
APA

Easy Tuts | Sciencx (2024-10-06T16:18:55+00:00) Basic Docker Terminologies. Retrieved from https://www.scien.cx/2024/10/06/basic-docker-terminologies/

MLA
" » Basic Docker Terminologies." Easy Tuts | Sciencx - Sunday October 6, 2024, https://www.scien.cx/2024/10/06/basic-docker-terminologies/
HARVARD
Easy Tuts | Sciencx Sunday October 6, 2024 » Basic Docker Terminologies., viewed ,<https://www.scien.cx/2024/10/06/basic-docker-terminologies/>
VANCOUVER
Easy Tuts | Sciencx - » Basic Docker Terminologies. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/06/basic-docker-terminologies/
CHICAGO
" » Basic Docker Terminologies." Easy Tuts | Sciencx - Accessed . https://www.scien.cx/2024/10/06/basic-docker-terminologies/
IEEE
" » Basic Docker Terminologies." Easy Tuts | Sciencx [Online]. Available: https://www.scien.cx/2024/10/06/basic-docker-terminologies/. [Accessed: ]
rf:citation
» Basic Docker Terminologies | Easy Tuts | Sciencx | https://www.scien.cx/2024/10/06/basic-docker-terminologies/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.