How it works...
Pre-built Docker images are downloaded from the Docker Hub registry to create a layer on top of the host machine. The Docker images consist of layers of a filesystem and application configuration that are used to create containers. Docker Hub is a collection of many pre-built images that can be pulled and further customized.
To download a specific image (or set of images), use Pull-ContainerImage. If you don't specify a tag, the engine uses :latest as the default tag. The first cmdlet we ran pulls the microsoft/powershell:latest image from the repository.
By default, Pull-ContainerImage pulls a single image from the specified registry. However, a repository may consist of multiple images. To pull all image from a repository, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access