Changes

From SME Server
Jump to navigationJump to search
389 bytes added ,  13:17, 9 September 2014
m
no edit summary
Line 65: Line 65:     
==Using an Docker image==
 
==Using an Docker image==
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.
+
By default, there are 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.
   −
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.
+
To get a list of all available cntos images you can use:
 +
docker search centos
 +
You will be flooded with available images from the Docker hub. This is because everyone can have a free account on Docker hub and create one repository for him/herself. We limit our testing to the official Centos repo. With all the other images, you are on your own and usage is at your own risk.
 +
 
 +
By default, downloaded images from the Docker hub to 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?
 
* Note: See if we can change this default location in another way, config file?

Navigation menu