Update ubuntu to 18.04

This commit is contained in:
khs1994
2018-12-19 17:24:52 +08:00
parent 4d38aaad3b
commit af7663bd61
7 changed files with 22 additions and 18 deletions

View File

@@ -11,7 +11,7 @@
例如,下面的命令输出一个 “Hello World”之后终止容器。
```bash
$ docker run ubuntu:14.04 /bin/echo 'Hello world'
$ docker run ubuntu:18.04 /bin/echo 'Hello world'
Hello world
```
@@ -20,7 +20,7 @@ Hello world
下面的命令则启动一个 bash 终端,允许用户进行交互。
```bash
$ docker run -t -i ubuntu:14.04 /bin/bash
$ docker run -t -i ubuntu:18.04 /bin/bash
root@af8bae53bdd3:/#
```