To download the centos6 image to your local server, issue the following command as root:
To download the centos6 image to your local server, issue the following command as root:
docker pull centos:centos6
docker pull centos:centos6
−
where the syntax is 'centos' as the main repository and 'centos6' the specific version. Would you issue only 'docker pull centos', then all centos version will be downloaded. So be specific.
+
where the syntax is 'centos' as the main repository and 'centos6' the specific version. Would you issue only 'docker pull centos', then all centos version will be downloaded. So be specific.
+
+
Once the image has been downloaded, you can check your local images by issuing: