Hello,
I'm trying to get podmansh to work in such a way, that every user has a persistent
container.
I've followed the steps of
https://docs.podman.io/en/latest/markdown/podmansh.1.html,
resulting in a nice setup, where at user login every user get's its own container.
Unfortunately the container for the user session is ephemeral, meaning after logging out
or system reboot the container is destroyed.
I would like to have a setup, where quadlet setups a base container, but then every user
can install their own software and environment, which lasts.
Here is the quadlet file I'm currently using:
```
# /etc/containers/systemd/users/podmansh.container
[Unit]
Description=podmansh container
After=local-fs.target
ExecStartPre=-/bin/mkdir -p %h/data
[Container]
Image=registry.fedoraproject.org/fedora
ContainerName=podmansh
HostName=arctic-fox
RemapUsers=keep-id
RunInit=yes
User=0
Volume=%h/data:%h:Z
WorkingDir=%h
Exec=sleep infinity
[Service]
ExecStartPre=/usr/bin/mkdir -p %h/data
[Install]
RequiredBy=default.target
```
Anyone an idea how to achieve persistent podmansh containers?
Greetings,
phoenix