remove all dockerfile installations code example
Example 1: remove unused images docker manually
$ docker rmi $(docker images -q -f dangling=true)
Example 2: how to remove a docker container
docker container rm [container id]
$ docker rmi $(docker images -q -f dangling=true)
docker container rm [container id]