The /run folder is handled by ‘alpine.common.conf’:
lxc.mount.entry=run run tmpfs rw,nodev,relatime,mode=755 0 0
But i can’t find anything for /tmp and it seems its just a regular folder indeed. After shutting down the container the data is still in the rootfs folder (even though its gone when it gets up again - maybe a boot script) whereas the /run folder content is (correctly) never visible (from outer scope).
So, how is it meant to handle /tmp? Do i have to add the mount manually in the config? Why does the template handle /run but not /tmp? Does LXD (vs LXC) maybe handle /tmp differently (global config)?