> One can work around it by asking Docker to create /tmp: > > docker run --tmpfs /tmp … > > However, it seems easier to just create /tmp upfront in the image.
If /tmp exists in the image can a user still overwrite it to either map an outside directory to /tmp in the container or to use a tmpfs? If this is still possible, I agree that /tmp should exist in the generated image – even if it’s just a plain mount point. -- Ricardo
