docker stop

stop

Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]

Stop a container by sending SIGTERM and then SIGKILL after a
grace period

  --help             Print usage
  -t, --time=10      Seconds to wait for stop before killing it

The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL.

doc_docker
2017-02-04 08:22:39
Comments
Leave a Comment

Please login to continue.