Docker
Contents
Dockerfile
ubuntu timezone
| |
Docker command
run
| |
description
- 创建和启动一个新的容器实例
- create and start a new container instance
options
| Option | Description |
| –name | Name |
| -i | Keep STDIN open even if not attached |
| -t | Allocate a pseudo-TTY |
exec
description
- 已运行的容器中, 执行命令
options
| Option | Description |
| -i | interaction |
| -t | terminal |
| -w | workspace |
start
| |
-iinteract
volume
| |
attach
| |