docker rm
docker rm [-f] <container>
Risk: Can lose work
What it does
Deletes a stopped container and the files inside it.
When to use it
When you won't need that container again.
Example
$ docker rm webRemove web. Volumes stay.
$ docker rm -f webStop and remove a running one. Careful!
Learn it in: Clean up safely · Official docs