Fix explanation of `rm --force`

`--force` in `rm --force` claimed to remove the container (which `rm` obviously does). `--force` allows a container to be removed even if it's still running.
This commit is contained in:
Timothy Aaron 2020-05-14 13:36:59 -05:00 committed by GitHub
parent 7902bf370a
commit d511f2065b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ You'll see Docker step through each instruction in your Dockerfile, building up
docker rm --force bb
```
The `--force` option removes the running container. If you stop the container running with `docker stop bb` you do not need to use `--force`.
The `--force` option stops a running container, so it can be removed. If you stop the container running with `docker stop bb` first, then you do not need to use `--force` to remove it.
## Conclusion