August 2018
Intermediate to advanced
352 pages
12h 30m
English
Image tags group images of the same type. For example, CentOS can have images with tags such as centos6, centos7, and so on. To pull an image with a specific tag, for instance, run the following command:
$ docker image pull centos:centos7
By default, the image with latest tag gets pulled. To pull all images corresponding to all tags, use the following command:
$ docker image pull --all-tags alpine
From Docker 1.6 (https://blog.docker.com/2015/04/docker-release-1-6/), we can build and refer to images by a new content addressable identifier called a digest. It is a very useful feature when we want to work with the specific images, rather than tags. To pull an image with a specific digest, we can use the following syntax: ...
Read now
Unlock full access