Posted on 2 Comments

Docker Volumes: An Introduction

Docker volume

Docker volumes are very useful when we need to persist data in Docker containers or share data between containers. Docker volumes are important because when a Docker container is destroyed, it’s entire file system is destroyed too. So if we want to keep this data in some way, it is necessary that we use Docker volumes. Docker volumes are attached to containers during a docker run command by using the -v flag When Docker Volumes…

Read more

Posted on 2 Comments
Posted on Leave a comment

Understanding Docker Containers

Docker container

In a previous article, we talked about Docker images but we could only use a small section to talk about Docker containers. Now, let’s go deeper. Docker Containers A Docker container is created from a Docker image. If a Docker image is a recipe, think of the Docker container as the dish that is prepared A container image is a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run…

Read more

Posted on Leave a comment