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

Docker installation environment

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

Share

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

Docker installation environment

Centos7

# vim / etc/yum.repos.d/docker.repo [DOCKER-CE] name=docker-ce centos 7 x86 / 64baseurl = https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/stable/gpgcheck=0enabled=1

Environment configuration

# systemctl stop firewalld & & systemctl disable firewalld# yum install iptables-service iptables zlib-devel openssl-devel zlib-devel# systemctl stop iptables & & systemctl disable iptables# sed-I "s/SELINUX=enforcing/SELINUX=disabled" / etc/selinux/config

Install docker

# yum list | grep docker-cedocker-ce.x86_64 3VR 18.09.2-3.el7 DOCKER-CEdocker-ce-cli.x86_64 1v 18.09.2-3.el7 DOCKER-CEdocker-ce-selinux.noarch 17.03.3.ce-1.el7 DOCKER-CE# yum install docker-ce- y

Start docker

# systemctl start docker# systemctl enable docker

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