Container Stop/Restart procedure

The following section describes commands used to Start/Stop a Docker container.
  • Stop a running container
    docker stop <container_name/id> 

    Container name/id can be obtained using docker ps command.

  • To verify if the container has stopped run docker ps -a command. The status of the stopped container would display as Exited.
    docker ps -a
  • Start a Docker container in a stopped state
    docker start <container_name/id> 

    Connect:Direct service automatically starts inside the container.

  • To destroy a stopped container permanently, all configuration data and information such as statistics and TCQ not mapped to a Storage Volume are lost and cannot be recovered. Use the following command to remove a container:
    docker rm <container_name/id>