For container images that have systemd inside, sysbox automatically mounts tmpfs on the container's /tmp (to satisfy a systemd requirement). The tmpfs mount is hardcoded with an upper limit of 64mb.
In some cases, users may want that tmpfs mount to be larger. The way to do this is to have users explicitly mount tmpfs over the container's /tmp. For example:
docker run --runtime=sysbox-runc -it --rm --tmpfs /tmp:rw,noexec,nosuid,size=131072k nestybox/ubuntu-bionic-systemd-docker
This however does not currently work, as sysbox has a bug in which it's ignoring the tmpfs mount over /tmp.
Let's fix this.
For container images that have systemd inside, sysbox automatically mounts tmpfs on the container's /tmp (to satisfy a systemd requirement). The tmpfs mount is hardcoded with an upper limit of 64mb.
In some cases, users may want that tmpfs mount to be larger. The way to do this is to have users explicitly mount tmpfs over the container's /tmp. For example:
This however does not currently work, as sysbox has a bug in which it's ignoring the tmpfs mount over /tmp.
Let's fix this.