# Tmpfs during image-build?

**URL:** <https://forums.docker.com/t/tmpfs-during-image-build/59636>\
**Category:** Image Builds\
**Tags:** docker, build\
**Created:** [October 1, 2018, 3:02pm UTC](https://forums.docker.com/t/tmpfs-during-image-build/59636 "2018-10-01T15:02:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbmoody](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nbmoody](https://forums.docker.com/u/nbmoody)\
**Post date:** [October 1, 2018, 3:02pm UTC](https://forums.docker.com/t/tmpfs-during-image-build/59636/1 "2018-10-01T15:02:56Z")

</div>

This is a more conceptual question, so feel free to point me toward a more appropriate channel, but I’ve had no luck on Stack Overflow, so I thought I would try in a more focused context:

Is it possible to mount a tmpfs in a container at build-time, such that it is always there a run-time? I know that it is possible to pass the `--mount` option on the command-line, but I was hoping to set my image up to run with the tmpfs already in place, or to have it setup when the image is run.
