deepin docker 安装

1、sudo apt-get remove docker.io docker-engine    #确保卸载以前系统中可能已有的老版本docker

2、sudo apt-get update    #更新下本地软件包索引

3、curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -           【如果提示curl不存在 执行 sudo apt-get install curl

4、sudo apt-key fingerprint 0EBFCD88            #验证是否安装成功

5、sudo add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian jessie stable"    #添加软件源

6、sudo apt-get install docker-ce          #安装docker

猜你喜欢

转载自www.cnblogs.com/wenxinphp/p/12482612.html
今日推荐