mirror of https://github.com/docker/docs.git
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:
parent
7902bf370a
commit
d511f2065b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue