To stop a running container:
docker stop <container> [<container>...]
This will send the main process in the container a SIGTERM, followed by a SIGKILL if it doesn't stop within the grace period. The name of each container is printed as it stops.
To start a container which is stopped:
docker start <container> [<container>...]
This will start each container passed in the background; the name of each container is printed as it starts. To start the container in the foreground, pass the