|
|
@ -68,6 +68,12 @@ $ ssh root@你的云主机外网ip -L 32769:0.0.0.0:32769 -L 32768:0.0.0.0:32768 |
|
|
|
$ curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun |
|
|
|
``` |
|
|
|
|
|
|
|
#### 如果遇到如下图所示错误,请先运行下面的命令后再重新安装docker |
|
|
|
```bash |
|
|
|
$ yum install -y https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm |
|
|
|
``` |
|
|
|
![docker错误](img/assignment2/docker错误.jpeg) |
|
|
|
|
|
|
|
#### 按照提示将自己的用户加入docker的用户组(root 用户无需操作) |
|
|
|
|
|
|
|
```bash |
|
|
|