Aliyun CentOS 6.5 Installation Docker detailed steps _docker

Source: Internet
Author: User
Tags centos aliyun

Because Aliyun's CentOS 6.5 version of the default kernel kernel version is 2.6, the lower. After installing the Docker, it cannot run.

Steps:

1, use the command to update:

Yum Update

2, install Docker. This ignores 500 words ....

3, use the command to view IP:

Ifconfig

You will see a similar result:

Eth0   Link encap:ethernet hwaddr 00:16:3e:00:6b:5d inet addr:10.169.127.193 bcast:10.169.127.255 Mask
     : 255.255.248.0 up
     broadcast RUNNING multicast mtu:1500 metric:1
     RX packets:103408201 errors:0 dropped:0 overruns:0 frame:0
     TX packets:426317 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
     RX bytes:4734752352 (4.4 GiB) TX bytes:38914346 (37.1 MiB)
     interrupt:164

4, use the command to run Docker:

Docker-bip=10.169.127.193/24-d

5, after running, you can use the command ifconfig to see IP configuration:

Docker0  Link encap:ethernet hwaddr 86:af:f8:0a:6f:ff inet addr:10.169.127.193 bcast:0.0.0.0 Mask
     : 255.255.255.0 up
     broadcast RUNNING multicast mtu:1500 metric:1
     RX packets:0 errors:0 dropped:0 overruns:0 Frame : 0
     TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0
     RX txqueuelen:0 (0.0 b) TX bytes:0 (0.0 b)

There is one more Docker0 Bridge network card.

End.

Thank you for reading, I hope to help you, thank you for your support for this site!

Related Article

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.