Docker is best installed on Centos7, centos6.5 seems a lot of trouble
Here to install directly on the CENTOS7, to pre-load Epel repo
Yum install Docker installation on line
Chkconfig Docker on
Service Docker start
Set the Docker service to start every time you boot, and then start the Docker service
Then you can grab a mirror from Docker pull CentOS.
and Lxc slightly different is, LXC and ordinary virtual machine has the Create command, can create a container, but also to manually match the network, host name and so on
Docker just encapsulates all of this, and you can see only the ID and the repo name, and the repo name is not in the container.
So Docker does not have create command, direct Docker run <image name> <command name> can run
Once a change is made to the state of the container, such as a package or something, a docker push is required to save the state change to another repo (or the original repo)
It seems that Docker popularity is not for no reason, git-like operations should be easily accepted by the code farm, and to avoid environmental dependencies, making deployment testing very convenient.
It should be a mass epidemic in the future.
And LXC may be better suited to the PAAs platform for customized requirements.
Docker on CentOS