=====Manage Containers as System Services=====
to run them as root less (without root priviledges) you need to run
systemctl --user
first you need to create the system unit this looks at the properties of the already running container. THese are stored in /home/user/.config/systemd/user/ command is
podman generate systemd --name container_name --files --new
you need to create the directory and then CD into it before running the command. Generate the files and start it as a fresh container
need to ensure you have linger on the user in case the machine reboots if this is not enabled then the container can not start weith that users rights.
done as the user
loginctl enable_linger
to check use
loginctl show_user username