Docker container cluster Build!!!

Source: Internet
Author: User

Project background:

While we are using Docker to bring us convenience, sometimes we need to build a docker cluster, this time, the following content is very valuable.




Lab Environment:

VMware Workstation 11

Under the centos7.0 system

Server: ip:192.168.0.60

SECURECRT (SSH remote connection software)





Software Introduction:

Here are two things I know about Docker.

http://9399369.blog.51cto.com/9389369/1758576 "Docker Concise Tutorial One"

http://9399369.blog.51cto.com/9389369/1758752 "Docker Brief Tutorial II"




Experimental process:

First, Docker software installation

1, first see if the host has been installed Docker

[Email protected] ~]# Rpm-q Docker

Docker-1.8.2-10.el7.centos.x86_64

You can see I've installed Docker

2. If you do not have Docker installed, perform the following command installation.

[email protected] ~]# Yum install-y Docker

Ii. using a custom bridge to connect across host containers

1. View your host's Docker bridge

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/8C/wKiom1cDtznhy5AAAAEOXSEnQ_k745.png "title=" 01.png "alt=" Wkiom1cdtznhy5aaaaeoxsenq_k745.png "/>2, download an Ubuntu image.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/89/wKioL1cDuy_x6KjZAAByCU2P-FQ231.png "title=" 02.png "alt=" Wkiol1cduy_x6kjzaabycu2p-fq231.png "/> View the image information of this machine

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7E/89/wKioL1cDuySyQJ-jAADME1Zwk3w280.png "title=" 03.png "alt=" Wkiol1cduysyqj-jaadme1zwk3w280.png "/>


3, new and start the container, look at the container network information

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7E/89/wKioL1cDvH-yVtgRAAJChvP8j8A585.png "title=" 04.png "alt=" Wkiol1cdvh-yvtgraajchvp8j8a585.png "/>

4. Create your own network bridge.






This article is from the "Make a few" blog, be sure to keep this source http://9399369.blog.51cto.com/9389369/1760656

Docker container cluster Build!!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.