Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install DOCKER

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to install DOCKER, I hope you will get something after reading this article. Let's discuss it together.

1.centos 7.x install docker

The Docker RPM package is already included in the centos-Extra repository, so we can install it directly using yum:

Yum-y install docker

2.centos 6. 5 install docker (mine is centos6.5)

First install the epel source:

Yum-y install epel-release

3. Installation dependencies:

Yum install lxc libcgroup device-mapper-event-libs-y

4. Install docker:

Yum-y install docker-io

Note: kernel versions > = 2.6.32-431 are required when running centos 6.5 and later, because these kernels contain specific modifications to run Docker.

Execute the command uname-a to check the kernel version

After reading this article, I believe you have a certain understanding of "how to install DOCKER". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report