-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
--tmpfs defaults are not compatible with docker #3780
Comments
@ashley-cui PTAL, just change the --tmpfs to not be confined to 64k. |
Or @computator if you want to take a stab at fixing it. PRs welcome... |
@rhatdan should I just remove the default value for --tmpfs? How would I test this? |
@rhatdan When the --tmpfs flag is used in docker, no defaults are set. However, in podman, it automatically sets various defaults:
Should this also be fixed? I'm not really sure where the size and other defaults are used later in control flow, so I'm wary of how to manipulate it. |
Related: #3803 We set these defaults largely for security. I think that 65MB is a safe default that can be increased if required. |
I would remove the 65mb, since this is still controlled by the cgroup. The tmpfs space is < 50% of all available Memory for all tmpfs in the contianer (Memory cgroup). |
/kind bug
The
--tmpfs
option (and probably--mount
too) defaults to 64MB of space, vs docker's default size is unlimited according to this documentation oftmpfs-size
.In addition, Docker's
--tmpfs
doesn't allow any options, but podman's has several. I'm not too concerned about this one though since the tmpfs syntax for podman is a superset of Docker's.Output of
podman version
:The text was updated successfully, but these errors were encountered: