How to clean up /var/lib/docker/vfs directory

I am trying to figure out how I can reclaim some of my disk space from Docker.
My /var/lib/docker directory currently looks like:

42M     containers
3.6G    devicemapper
14M     image
68K     network
20K     plugins
4.0K    swarm
4.0K    tmp
4.0K    trust
9.0G    vfs
28K     volumes

I dont know why my vfs directory is so huge nor how to clean it up! My newer installations of docker on other servers dont even have this directory, so is it safe to delete?

  • Can't connect to docker daemon
  • How persistent are docker data-only containers
  • Force npm compiling packages using docker image
  • Docker image TCP buffer size
  • “bash: fork: retry: No child processes ” when running docker quick start terminal or in /git bash shell
  • How to export the data in docker container?
  • I am running docker 1.13.1, using the devicemapper storage driver on an Ubuntu 14.04 server. This docker has been upgraded several times in the past. I am only running 3 containers on it and most of the important volumes are mounted to the host.

    I’ve run “docker system prune” but it reclaims nothing. I’ve also cleaned out all the images I dont need.

  • Port forwarding: docker -> vagrant -> host
  • Jenkins run job in local docker image
  • fallocate failing inside my docker container
  • Multiple instance application in docker
  • Can I have a writable Docker volume mounted under a read-only volume?
  • Build docker image with jetty - when should I build?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.