The remove container command looks something like this:
# the new syntax# Usage: docker container rm [OPTIONS] CONTAINER [CONTAINER...]docker container rm cd828234194a# the old syntaxdocker rm cd828234194a
The command requires a value that uniquely identifies a container; in this case, I used the full container ID for the hello-world container that we just ran. You can use the first few characters of a container's ID, as long as it provides a unique identifier between all of the containers on your system. Another way to uniquely identify the container is by the name assigned to it. Docker will provide a unique randomly-generated name for your container when you run it. In the preceding example, the random name ...