Docker eating up disk space /var/lib/docker/devicemapper/devicemapper

Sorry I got the answer. Thank you so much for your answers

  • OpenJDK 1.8.0 in Docker container has different timezone than /etc/timezone and from the host
  • From inside of a Docker container, how do I connect to the localhost of the machine?
  • mount /var/log in docker-compose
  • Dockerfile for a newly committed docker image
  • Setting up 4 containers with 4 IPs and 2 interfaces on EC2
  • How to remove multiple docker images with the same imageID?
  • Rancher: Unsupported config option for xxx service: 'upgrade_strategy'"
  • Case sensitive host volume mount in docker for windows
  • Reduce memory consumption in rake assets:precompile
  • Why isn't nginx handling requests in this docker-compose/django setup?
  • Referencing services with Docker Compose
  • tunnel ssh from another pc to docker
  • One Solution collect form web for “Docker eating up disk space /var/lib/docker/devicemapper/devicemapper”

    Try removing docker containers which are not running:

    docker rm -v $(docker ps -a -q -f status=exited)
    

    And then remove the unused docker images:

    docker rmi $(docker images -q)
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.