1.

Commands for Starting or Stopping the Container

Answer»
CommandMeaningSyntax
Command for starting a containerThis command is used for starting a container  docker container start nginx
Command for stopping a containerThis command is used for stopping a container docker container stop nginx
Command for restarting the containerThis command is used for restarting a container docker container restart nginx
Command for pausing the containerThis command is used for pausing a container docker container pause nginx
Command for unpausing the containerThis command is used for unpausing a container in the docker  docker container unpause nginx
Command for Blocking a containerThis command is used for blocking a container in the docker  docker container wait nginx
Sending a SIGKILLThis command is used for Sending a SIGKILL in the docker  docker container kill nginx
Command for sending another signalThis command is used for for sending another signal docker container kill -s HUP nginx
Command for Connecting to an Existing ContainerWe can use this command for Command for Connecting to an Existing Container docker container attach nginx



Discussion

No Comment Found