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

Install Docker CE on CentOS 8

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

Share

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

Update system # docker officially does not have 8 yum source can also be installed using 7 source, but there will be an error, of course, you can ignore the error. Here, use the binary installation # to open PowerToolssed-I "s/enabled=0/enabled=1/" / etc/yum.repos.d/CentOS-PowerTools.repodnf update-ydnf install-y lvm2 device-mapper-persistent-data dnf-utils# to close SELinuxsetenforce 0sed-I s/enabled=0/enabled=1/. Create docker group groupadd docker download docker binary package wget https://download.docker.com/linux/static/stable/x86_64/docker-19. 03.5.tgz decompress binary package tar-xvf docker-19.03.5.tgzcp docker/* / usr/bin/ configuration containerd# to generate containerd configuration mkdir-p / etc/containerdcontainerd config default > / etc/containerd/config.toml# generation startup file cat > / usr/lib/systemd/system/containerd.service / etc/docker/daemon.json / usr/lib/systemd/system/docker.socket / usr/lib/systemd/system/docker.service > HEADER

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