You can create an unlimited number of Docker images from one image base. This adds a container layer which allows modifications of the entire copy of the image. When you run a containerized environment, you essentially create a read-write copy of that filesystem (docker image) inside the container. The image-base on which you create a container exists separately and cannot be altered. ![]() Once you create a container, it adds a writable layer on top of the immutable image, meaning you can now modify it. A container is, ultimately, just a running image. What you can do is use that template as a base to build a container. Since images are, in a way, just templates, you cannot start or run them. It allows developers to test and experiment software in stable, uniform conditions. This consistency is one of the great features of Docker. ![]() They represent an application and its virtual environment at a specific point in time. A Docker image is an immutable (unchangeable) file that contains the source code, libraries, dependencies, tools, and other files needed for an application to run.ĭue to their read-only quality, these images are sometimes referred to as snapshots.
0 Comments
Leave a Reply. |