其他分享
首页 > 其他分享> > docker安装

docker安装

作者:互联网

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

  sudo yum install docker-ce docker-ce-cli
  sudo systemctl start docker
  docker --version
 开机自启
  sudo systemctl enable docker

标签:cli,sudo,ce,yum,install,docker,安装
来源: https://www.cnblogs.com/vofill/p/16609120.html