标签:rem 使用 nbsp ice mamicode mct test load mic
sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine
1 #yum list docker-ce --showduplicates | sort -r //查看可以安装的版本并倒序排序
sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-‘EOF‘ { "registry-mirrors": ["https://xxxxx.mirror.aliyuncs.com"] } EOF
sudo systemctl daemon-reload //重新加载服务配置文件 sudo systemctl enable docker.service && systemctl restart docker.service //设置开机启动与重启docker服务
~#docker version Client: Docker Engine - Community Version: 19.03.8 API version: 1.40 Go version: go1.12.17 Git commit: afacb8b Built: Wed Mar 11 01:27:04 2020 OS/Arch: linux/amd64 Experimental: false ........... ~#docker info Client: Debug Mode: false Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 19.03.8 Storage Driver: overlay2 Backing Filesystem: <unknown> Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs
标签:rem 使用 nbsp ice mamicode mct test load mic
原文地址:https://www.cnblogs.com/cloudos/p/12491189.html