database-server, and a
web-server. Each of these perform a slightly different service for a larger application. In this scenario, one could make it so that only the
web-serverwas exposed to the public, minimizing the risk someone could gain access to your database or other services.
pull) images from a registry where they can then be
Dockerfilethat defines everything necessary for building an image as well as providing a default run command.
docker-compose.yamlfile that defines how to run one or more containers based off the images.
docker pullcommand to pull an image from a registry. The full name for the image, including host and tag, needs to be included otherwise they will default to
docker runto create and run containers based on the images.