Docker环境搭建(Linux环境)

Linux环境Docker CE(repo方式),无ui,命令行客户端

  1. sudo yum install -y yum-utils
    device-mapper-persistent-data
    lvm2
  2. yum-config-manager
    --add-repo
    https://download.docker.com/linux/centos/docker-ce.repo
  3. sudo yum install docker-ce docker-ce-cli containerd.io
  4. sudo systemctl start docker(开启服务)

推荐阅读更多精彩内容