2

在 CentOS 安装 Docker

 2 years ago
source link: https://linuxsuren.github.io/blog/devops/docker/docker-centos/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

在 CentOS 安装 Docker

在 CentOS 安装 Docker
yum remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine

安装依赖:

yum install -y yum-utils \
  device-mapper-persistent-data \
  lvm2
yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

查看版本 yum list docker-ce --showduplicates | sort -r

安装 Docker yum install docker-ce 安装执行版本 yum install docker-ce17.12.0.ce-1.el7.centos


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK