1、创建配置镜像
由于国内docker连接外网速度慢,采用代理
vi /etc/docker/daemon.json
添加以下内容
{
	"registry-mirrors": [
	    "https://9cpn8tt6.mirror.aliyuncs.com",
	    "https://dockerproxy.com",
	    "https://hub-mirror.c.163.com",
	    "https://mirror.baidubce.com",
	    "https://ccr.ccs.tencentyun.com"
	  ]
  }
2、重启docker引擎
systemctl restart docker
// 查看docker是否启动成功
systemctl status docker
3、检验成功
// 拉取
docker pull hello-world
// 跑
docker run hello-world

4、基本命令


![[深度学习] Transformer](https://img-blog.csdnimg.cn/direct/6fd25764fa9843e4a6fd1c9ca3b4a851.png)

















