Docker Containers are actually Docker Virtual Machines. Essentially, a Docker image is a map of the house, while a Docker container is the actual house itself, so we can call it an instance of an image. |
Images are templates containing instructions for creating containers. With Docker images, containers can be created to run on the Docker platform. |
It is a real-world entity. |
It is a logical entity. |
Using images, containers can be created as many times as necessary. |
An image is only created once. |
In order for containers to change, the old image must be deleted and a new one must be used to build the containers. |
There is no change to the image. It is immutable. |
A container requires computing resources to run since it runs as a Docker Virtual Machine. |
Computing resources aren't required to work with images. |
Run the "docker build." command to build a container from an image. |
Creating a Docker image requires writing a script in a Dockerfile. |
In order to function, containers utilize server information and file systems provided by docker images. |
You can use Docker images to package up applications and pre-configured server environments. |