Replies: 4 comments
-
|
@rhatdan Should rootless container (edit: builds) write to space-limited /var/tmp on rpm-ostree distros? |
Beta Was this translation helpful? Give feedback.
-
|
I think |
Beta Was this translation helpful? Give feedback.
-
|
Given that /var/tmp is just a directory on / (and not a faster spool or similar), I guess I want to set it to a per-user |
Beta Was this translation helpful? Give feedback.
-
|
What about https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard ::
Where do the Is it that any tmpfs (e.g. /run/user/1000) can fill up /tmp, which can exhaust the resources of the root partition (by default; though containers.conf) Is it possible to set a different tmpdir (that's on the /var/home partition) for each rootless container by creating a containers.conf?
General issues with /tmp dirs - even with rootless containers - is:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A
podman buildof a Containerfile withRUN --cache=type=mountwrites to/var/tmpon the root partition instead of/var/home.On rpm-ostree distros,
/var/tmpis by default on a different partition than rootless containers (with rpm-ostree distros).It is surprising then that podman needs disk space on
/var/tmpto build rootless containers if there areRUN --cachemounts.Silverblue (and other rpm-ostree distros) have limited size root partitions by default. Rootless containers are stored in homedirs on the
/var/homepartition (where there's plenty of space by default).Should rpm-ostree distros like Silverblue set
imageCopyTmpDir(and/or other config values) to IDK${HOME}/.cache/podmanfor rootless containers where/is limited in space and writes need to be contained to partitions with space?Beta Was this translation helpful? Give feedback.
All reactions