remove docker span code example
Example 1: docker remove dangling images
docker image prune
Example 2: how to remove a docker container
docker container rm [container id]
docker image prune
docker container rm [container id]