# 关闭docker
sudo systemctl stop docker
# 卸载旧版本:
sudo apt-get purge docker-ce
# 安装新版本
sudo apt update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable
apt-cache madison docker-ce

sudo apt install docker-ce=5:19.03.1~3-0~ubuntu-xenial
systemctl start docker
sudo systemctl start docker
sudo systemctl enable docker
sudo docker info
# 安装nvidia-docker 看业务
sudo apt update 
sudo apt install nvidia-docker2

 

相关文章:

  • 2022-12-23
  • 2021-10-08
  • 2021-06-12
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-03-07
猜你喜欢
  • 2022-01-24
  • 2022-12-23
  • 2021-12-04
  • 2022-02-05
  • 2022-03-08
  • 2021-07-13
  • 2021-10-24
相关资源
相似解决方案