Safe delete docker tmp folder

I had to cancel a docker build 2 times during “uploading context” phase.
I figure out what I was doing wrong, but know I have some huge files in docker tmp folder.

Can I safely delete these folders? What about deleting the whole “/var/lib/docker/tmp” folder?

  • docker run with -p and a single port (instead of mapping)
  • No space left on device when pulling an image
  • Docker in Windows is mounting files as directories
  • Running `bash` using docker exec with xargs command
  • Spring Cloud Config Server Won't Serve from Local Filesystem
  • Elastic Beanstalk Multicontainer Docker environment: no entries in etc/hosts for lined containers
    • /var/lib/docker/tmp/docker-builder185153115/
    • /var/lib/docker/tmp/docker-builder737796513/

  • Does putting ARG at top of Dockerfile prevent layer re-use?
  • Cached Docker image?
  • Detecting Virtualbox from Docker
  • PID mapping between docker and host
  • Elasticbeanstalk only sometimes pulls new Docker container?
  • deis Register without external IP
  • One Solution collect form web for “Safe delete docker tmp folder”

    It is safe to delete tmp folder.

    But you will need to restart docker service afterwards

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.