@blog @howto @linux
cd my-podman-compose-projectThis allows user services to be started like this:
systemctl --user start 'podman-compose@my-podman-compose-project'NOTE: If podman-compose isn't installed globally, you may need to do so in order to run this command as root.
sudo podman-compose systemd -a create-unitpodman pod create --name pod_my_pod
podman-compose --in-pod pod_my_pod up --no-start
podman pod start pod_my_podThis allows the project to be started using the podman-compose systemd service created at the beginning of this guide.
podman-compose systemd -a registerNow user-owned services can be started with systemctl, etc.
systemctl --user start 'podman-compose@my-podman-compose-project'