mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-01 12:13:38 +00:00
12 lines
270 B
Markdown
12 lines
270 B
Markdown
##下载images
|
||
现在将尝试下载training/sinatra镜像,可以使用docker pull命令。
|
||
```
|
||
$ sudo docker pull training/sinatra
|
||
```
|
||
|
||
然后就可以使用这个image来启动容器了
|
||
```
|
||
$ sudo docker run -t -i training/sinatra /bin/bash
|
||
root@a8cb6ce02d85:/#
|
||
```
|