Changes

Jump to navigation Jump to search
832 bytes added ,  12:55, 9 September 2014
m
no edit summary
Line 64: Line 64:       −
==Building your images==
+
==Using an Docker image==
* Manual, or..
+
By default, there are several pre-build images available from the official [https://registry.hub.docker.com/ Docker Hub]. In our examples we will use the pre-build centos6 image.
* https://github.com/docker/fig
+
 
 +
By default, downloaded images on your local server will be places in /var/lib/docker. If you want to store these images elsewhere, then you can create a symbolic link from that storage location pointing to /var/lib/docker.
 +
 
 +
* Note: See if we can change this default location in another way, config file?
 +
 
 +
To download the centos6 image to your local server, issue the following command as root:
 +
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.
 +
 
 +
 
 +
==Building your own images==
 +
 
 +
 
 +
* Notes
 +
Manual, or..
 +
https://github.com/docker/fig
     

Navigation menu