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?

  • Why can't I curl one docker container from another via the host
  • Docker unable to start
  • Docker container sometimes hangs and cannot be stopped
  • Run command on multiple Docker containers at once
  • DOCKER for Windows - Open cmd executing docker machine env
  • Pushing to docker registry fails: Error mounting /dev/mapper/…: device or resource busy
  • 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.

  • prior storage driver “devicemapper” failed: exit status 1 in docker
  • wildfly docker image authentication issue
  • Using docker gcplogs (Google Cloud Logging driver) on digital ocean with docker compose
  • Maven docker cache dependencies
  • Dockerfile, persist data with VOLUME
  • Docker Wordpress CPU jumps when selecting featured image
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.