docker:containers:restart_a_container
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker:containers:restart_a_container [2020/05/13 08:58] – peter | docker:containers:restart_a_container [2025/07/21 10:12] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Docker - Containers - Restart a container ====== | ====== Docker - Containers - Restart a container ====== | ||
+ | |||
+ | <code bash> | ||
+ | docker restart {image id} | ||
+ | </ | ||
+ | |||
+ | ---- | ||
<code bash> | <code bash> | ||
Line 5: | Line 11: | ||
</ | </ | ||
- | where 11cc47339ee1 is the container ID. | + | where: |
+ | |||
+ | * **11cc47339ee1** is the container ID. | ||
or | or |
docker/containers/restart_a_container.1589360333.txt.gz · Last modified: 2020/07/15 09:30 (external edit)