Starting, stopping, restarting docker container

posted May 8, 2016, 5:28 PM by Sachchida Ojha
The gadget spec URL could not be found
1. docker start <container name>
The gadget spec URL could not be found
PS C:\Program Files\Docker Toolbox> docker start --help

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

Start one or more stopped containers

  -a, --attach         Attach STDOUT/STDERR and forward signals
  --detach-keys        Override the key sequence for detaching a container
  --help               Print usage
  -i, --interactive    Attach container's STDIN
PS C:\Program Files\Docker Toolbox>

2. docker stop <container name>
The gadget spec URL could not be found
PS C:\Program Files\Docker Toolbox> docker stop --help

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

Stop a running container.
Sending SIGTERM and then SIGKILL after a grace period

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

3. docker start <container name>
The gadget spec URL could not be found
PS C:\Program Files\Docker Toolbox> docker restart --help

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

Restart a container

  --help             Print usage
  -t, --time=10      Seconds to wait for stop before killing the container
PS C:\Program Files\Docker Toolbox>
The gadget spec URL could not be found
Comments