Browse Source

Update Assignment2.md

merge-requests/2/head
陆雪松 4 years ago
parent
commit
21d0d51eb9
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      Assignment2.md

+ 6
- 0
Assignment2.md View File

@ -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

Loading…
Cancel
Save