DockerCLI/docs/reference/commandline/restart.md

826 B

title description keywords
restart The restart command description and usage restart, container, Docker

restart

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

Restart one or more containers

Options:
      --help       Print usage
  -t, --time int   Seconds to wait for stop before killing the container (default 10)

Examples

$ docker restart my_container