Docker temporary files strategy

My docker produces some temporary files.

Is there an encouraged strategy regarding those?

  • Utilizing the --user param to create a user with a Dockerfile container
  • How to setup docker-machine to be as default?
  • JCoCo Code Coverage inside Docker Image
  • why does kafka docker need to listen on unix socket
  • Managing multiple GPUs with multiple users
  • make not found with Dockerfile and centos:7 image
  • If I put those to /tmp, I’m not sure they’ll get cleared.

    Or should I expose the volume /tmp from the host machine?


  • How to run protractor end to end tests in docker container?
  • How to make Flask serve the right content types for static files on Alpine?
  • Error pushing image via docker registry v2 api
  • Docker for ruby on rails app
  • Why is my docker image size much bigger than my application?
  • “network not manually attachable” when running one-off command against docker swarm network
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.