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

Installation tutorial of docker in Linux environment

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

Share

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

1. Installation environment

Docker supports the following CentOS versions

CentOS 6.5 (64-bit) or later

Docker requires the kernel version of the CentOS system to be higher than 3.10. Check the prerequisites on this page to verify whether your CentOS version supports Docker.

[root@tenghao510] # uname-r 3.10.0-957.21.3.el7.x86_64

3. Install Docker with yum:

Yum-y install docker

Finally, Complete is installed successfully.

4. Start the Docker service

Service docker start

5. Check whether docker is installed successfully

Docker version

When you see the information in the following figure, it indicates that the native docker has been installed successfully.

6. Set docker to boot

1 systemctl enable docker

So far, docker has been installed.

Summary

The above is the installation tutorial of docker in Linux environment introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply you in time. Thank you very much for your support to the website!

If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!

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