This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10210710423
/
cloud-computing-course
forked from
10205501411/cloud-computing-course
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Update Assignment6.md
wangyu
陆雪松
4 years ago
parent
cc8aeb99b4
commit
7debe3eed8
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Assignment6.md
+ 1
- 1
Assignment6.md
View File
@ -70,7 +70,7 @@
#### 2)使用docker file创建一个Flask App的image(比如实验2中的hello world),并且暴露docker容器的5000端口(因为Flask开发模式默认端口就是5000)。创建完毕之后运行docker,将5000端口映射到云主机的80端口。
```
docker run -d --rm -p 80:5000 -name myflask luxuesong/myflaskapp
docker run -d --rm -p 80:5000 -
-
name myflask luxuesong/myflaskapp
```
请同学们复习一下docker的安装和使用,以及通过dockerfile创建镜像。如果你意外保存了实验二的镜像,可以从镜像创建云主机,然后直接启动并docker run。
Write
Preview
Loading…
Cancel
Save