November 2018
Beginner
230 pages
6h 4m
English
The stop command is easy to use. Here are the syntax and an example of the command:
# Usage: docker container stop [OPTIONS] CONTAINER [CONTAINER...]docker container stop web-server
In our case, we used the --rm parameter when running the container, so as soon as the container is stopped, the read/write layer will be automatically deleted. Like many of the Docker commands, you can provide more than one unique container identifier as parameters to stop more than one container with a single command.
Now you might be wondering if I use the --detach parameter, how do I see what is happening with the container? There are several ways you can get information from, and about, the container. Let's take a look at some of ...
Read now
Unlock full access