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!