标签:ice ons rem logrotate linu span manager 文档 官方
1)Uninstall old versions
yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
2)SET UP THE REPOSITORY
2.1)Install required packages
yum install -y yum-utils device-mapper-persistent-data lvm2
2.2)set up the stable repository.
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
3)INSTALL DOCKER ENGINE - COMMUNITY
yum install docker-ce docker-ce-cli containerd.io
4)Start Docker
systemctl start docker
5)enable docker
systemctl enable docker
参考官方文档:https://docs.docker.com/install/linux/docker-ce/centos/
标签:ice ons rem logrotate linu span manager 文档 官方
原文地址:https://www.cnblogs.com/TheoryDance/p/11979408.html