|
@@ -15,6 +15,12 @@ docker-exec - Run a command in a running container
|
|
|
|
|
|
Run a process in a running container.
|
|
|
|
|
|
+The command started using `docker exec` will only run while the container's primary
|
|
|
+process (`PID 1`) is running, and will not be restarted if the container is restarted.
|
|
|
+
|
|
|
+If the container is paused, then the `docker exec` command will wait until the
|
|
|
+container is unpaused, and then run.
|
|
|
+
|
|
|
# Options
|
|
|
|
|
|
**-d**, **--detach**=*true*|*false*
|