Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map /tmp to something inside our docker containers #98

Open
stroomdev10 opened this issue May 11, 2021 · 1 comment
Open

map /tmp to something inside our docker containers #98

stroomdev10 opened this issue May 11, 2021 · 1 comment
Labels

Comments

@stroomdev10
Copy link
Member

One thing I have just noticed is that /tmp in our containers is not a volume and anything added in there will just be adding layers to the container. We prob ought to be mounting /tmp as tmpfs for all our containers, possibly with a size limit, so it is ram backed, volatile and won't increase the size of the container.

@at055612
Copy link
Member

See
https://docs.docker.com/compose/compose-file/compose-file-v2/#tmpfs
https://docs.docker.com/storage/tmpfs/
Need to consider whether we impose a size limit to avoid it consuming all ram and what perms are needed.
Ideally applies to v6.1 upwards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants