Ready to
Download
wget Https://get.docker.com/builds/Linux/x86_64/docker-latest-O/usr/bin/docker
Kernel kernel low start:
Yum Install Kernel-ml-aufs Kernel-ml-aufs-devel
Ubuntu installation Docker
sudo apt-get install Docker
sudo service docker start
sudo docker run-d-P 8082:80 daocloud.io/daocloud/dao-2048
CentOS Installation Docker
Installation
Yum Install Docker (this version is older 1.5)
Yum Install Docker-io
Start
sudo./docker-d &
sudo service docker start
power-on Boot
sudo chkconfig Docker on
Shutdown (requires the service to be turned off before upgrading)
Killall Docker
To configure Daocloud mirroring:
/etc/default/docker
Docker_opts= "--registry-mirror=http://aad0405c.m.daocloud.io"
Docker-machine SSH Default
sudo sed-i "s| Extra_args= ' | extra_args= '--registry-mirror=http://b5c2dd1f.m.daocloud.io |g '/var/lib/boot2docker/profile
Exit
Docker-machine Restart Default
Replace the aad0405c with the mirror address link name that you created for you after you registered on Daocloud.
Docker Pull Glot/java
The bottom of the firewall is to use iptables for data filtering, based on iptables, which may conflict with Docker. When the FIREWALLD is started or restarted, the Docker rule will be removed from the iptables, thus affecting the normal work of Docker. When you are using SYSTEMD, FIREWALLD will start before Docker, but if you start or reboot Firewalld after Docker startup, you will need to restart the Docker process.
Blog Address: http://blog.yoqi.me/archives/3842