Since docker v1.13, a few new commands were added
# shows used space, similar to the unix tool df
$ docker system df
# Removes all unused containers, volumes, networks and images (both dangling and unreferenced)
$ docker system prune
More about those commands: docs.docker.com/engine/reference/commandline/syst…