2020-09-15 11:37:28 +01:00
|
|
|
# docker start
|
|
|
|
|
2024-01-25 05:28:11 +00:00
|
|
|
> Start stopped containers.
|
2020-09-15 11:37:28 +01:00
|
|
|
> More information: <https://docs.docker.com/engine/reference/commandline/start/>.
|
|
|
|
|
2023-12-27 06:41:30 +00:00
|
|
|
- Display help:
|
2020-09-15 11:37:28 +01:00
|
|
|
|
|
|
|
`docker start`
|
|
|
|
|
|
|
|
- Start a docker container:
|
|
|
|
|
|
|
|
`docker start {{container}}`
|
|
|
|
|
2022-12-04 07:53:34 +00:00
|
|
|
- Start a container, attaching `stdout` and `stderr` and forwarding signals:
|
2020-09-15 11:37:28 +01:00
|
|
|
|
|
|
|
`docker start --attach {{container}}`
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
- Start one or more containers:
|
2020-09-15 11:37:28 +01:00
|
|
|
|
2023-05-20 02:19:41 +01:00
|
|
|
`docker start {{container1 container2 ...}}`
|