In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Download docker-ce
Yum-y install wget
Cd / etc/yum.repos.d
Wget http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
Yum makecache fast
2. Install docker Community version
Yum-y install docker-ce
Mkdir-p / app/docker
Mkdir-p / etc/docker
3. Configure the accelerator
Vi / etc/docker/daemon.json
{"registry-mirrors": ["https://a14c78qe.mirror.aliyuncs.com"],"
"live-restore": false
"insecure-registries": [
"reg.pinming.org"
]
}
4. Modify docker startup service
Mkdir-p / etc/systemd/system/docker.service.d/
Vi / etc/systemd/system/docker.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd-- graph=/app/docker-H 0.0.0.0pur2375-H unix:///var/run/docker.sock $DOCKER_NETWORK_OPTIONS
5. Start docker
Systemctl daemon-reload
Systemctl enable docker
Systemctl start docker
Systemctl status 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.