RedHat officially released the Enterprise Edition Linux 7 to meet enterprises' current needs for data centers and the next generation of cloud services, containers, and big data, provides users with secure, stable, easy-to-use, and efficient management at the military level. The community release version of centos 7 has also been released, allowing you to experience docker1.0.
Rpm-uvh http://dl.Fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Install docker Yum install docker-io
Start Service docker start
Start chkconfig docker on
Download centos image from docker. Io to local/var/lib/docker/graph docker pull centos
View installed Virtual Machine docker Images
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/D9/wKioL1PsbF7Bwm-7AAH3gUPRSDw704.jpg "Title =" qq20140814131210.png "alt =" wKioL1PsbF7Bwm-7AAH3gUPRSDw704.jpg "/>
Enter the installed Virtual Machine docker run-I-t centos/bin/bash
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/D8/wKiom1Psa4mRftS5AADdi0gPD88228.jpg "Title =" Boot container qq201408141312.png "alt =" wkiom1psa4mrfts5aaddi0gpd88228.jpg "/>
Exit
Install centos6.4 Virtual Machine
Docker pull gpmidi/centos-6.4
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/D8/wKiom1PsbDqSpn7-AAFJSA8jflw741.jpg "Title =" Install 6.4qq20140814132754.png "alt =" wKiom1PsbDqSpn7-AAFJSA8jflw741.jpg "/>
Go to centos6.4 Virtual Machine docker run-I-t gpmidi/centos-6.4/bin/bash build folder
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/D8/wKiom1PsbErSceb8AADzXm3nDK8994.jpg "Title =" Import 6.4. Create a folder qq20140814132930.png "alt =" wkiom1psbersceb8aadzxm3ndk8994.jpg "/>
View docker PS-
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/DA/wKioL1PsbbTAOk7kAAIAr2MI7wk599.jpg "Title =" PS qq20140814133059.png "alt =" wkiol1psbbtaok7kaaiar2mi7wk599.jpg "/>
Submit ID to make sure there is saved information docker commit db26297e2368 gpmidi/centos-6.4 next time you enter the VM
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/D8/wKiom1PsbOjACCfiAADQLd8Ntbs580.jpg "Title =" idqq201408141320.9.png "alt =" wkiom1psbojaccfiaadqld8ntbs580.jpg "/>
View container logs docker logs-F <container name orId>
Configure docker1.0 in RedHat
Docker-encapsulated applications are independent of the operating system, so they can be transplanted between operating systems and run properly. RHEL 7 intends to use docker as efficiently as possible to prevent applications from competing for resources or being confused about which runtime environment to use.
Docker can connect one container to another and rename the Al container to DB. In this way, container A can be used.
From the long-term schedule in the RHEL docker roadmap, this may go beyond the operating system itself and develop into a series of docker containers, which can support deploying a system with minimal overhead. RedHat wants to deploy it in his Fedora Linux release, just as a test of cutting-edge technologies.