Image and container

An image is the frozen, read-only template of a runtime environment, built from a Dockerfile. A container is a running instance of an image, isolated from the host system. One image can give rise to several identical containers.

Example

docker run -d --name api1 model-api
docker run -d --name api2 model-api

Related concepts

The whole glossary