Changes

From SME Server
Jump to navigationJump to search
675 bytes added ,  01:41, 16 September 2014
Line 144: Line 144:  
* Network Configuration
 
* Network Configuration
 
http://docs.docker.com/articles/networking/
 
http://docs.docker.com/articles/networking/
 +
 +
===Docker Name resolution===
 +
 +
Normally you could add the DNS directly in the file /etc/sysconfig/docker, if you don't do that, your docker container could ping an IP, but never do the domain name translation. This is the dns of opendns, but you could change them.
 +
 +
# cat /etc/sysconfig/docker
 +
 +
# /etc/sysconfig/docker
 +
#
 +
# Other arguments to pass to the docker daemon process
 +
# These will be parsed by the sysv initscript and appended
 +
# to the arguments list passed to docker -d
 +
 +
other_args="--dns 208.67.220.220 --dns 208.67.220.222"
 +
 +
or you could add directly from the command line
 +
docker run -i -t -dns 208.67.220.220 -dns 208.67.220.222  sme9_real:6.5 /bin/bash
    
==Building your own images==
 
==Building your own images==

Navigation menu