|
@ -359,14 +359,14 @@ mkdir /var/html |
|
|
|
|
|
|
|
|
#### 到现在为止,同学可能会疑惑,这种docker的镜像到底是如何创建的呢?这里就要使用到一个概念: `Dockerfile` |
|
|
#### 到现在为止,同学可能会疑惑,这种docker的镜像到底是如何创建的呢?这里就要使用到一个概念: `Dockerfile` |
|
|
|
|
|
|
|
|
#### 1.从repo中下载[附件](/file/assignment2/FoodTrucks.zip),通过`scp`命令上传到云服务器并解压 |
|
|
|
|
|
|
|
|
#### 1.从repo中下载[附件](/file/assignment2/demo.zip),通过`scp`命令上传到云服务器并解压 |
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|
$ scp FoodTrucks.zip root@113.31.112.166:~ |
|
|
|
|
|
|
|
|
$ scp demo.zip root@113.31.112.166:~ |
|
|
|
|
|
|
|
|
root@113.31.112.166's password: |
|
|
root@113.31.112.166's password: |
|
|
/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory |
|
|
/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory |
|
|
FoodTrucks.zip 0% 0 0.0KB/s --:-- ETAsFoodTrucks.zip 100% 1097KB 488.5KB/s 00:02 |
|
|
|
|
|
|
|
|
demo.zip 0% 0 0.0KB/s --:-- ETAsFoodTrucks.zip 100% 1097KB 488.5KB/s 00:02 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ unzip FoodTrucks.zip |
|
|
$ unzip FoodTrucks.zip |
|
|