Managing Windows Server container images
A Windows container is created, run, and managed through Docker. Docker Engine provides tools that help automate the creation process. The Docker components that enable this are as follows:
- The Docker text file,
Dockerfile
: This file includes instructions for creating a container image. This includes identifying the base image that will be used and the commands that will be run when creating the image and identifying when new instances of the image are deployed. - The Docker command,
docker build
: This command calls the Dockerfile, which then triggers the image creation process.
In addition to automation, Docker commands can be run manually. The following are some common commands for reference:
docker images
: This command lists installed images on the container hostdocker run
: This command creates a container using a container imagedocker commit
: This command commits the changes that have been made to a container...