contrib/systemd/README.md
podman.service and podman.socket files into /etc/systemd/systemsystemctl daemon-reloadsystemctl enable podman.socketsystemctl start podman.socketsystemctl status podman.socket podman.serviceAssuming the status messages show no errors, the libpod service is ready to respond to the APIv2 on the unix domain socket /run/podman/podman.sock
You can refer to this example for a sample podman.service file.
Note: replace @@PODMAN@@ with path to podman binary, such as /usr/bin/podman
You can refer to this example for a sample podman.socket file.
mkdir -p ~/.config/systemd/userpodman.service and podman.socket files into ~/.config/systemd/usersystemctl --user enable podman.socketsystemctl --user start podman.socketsystemctl --user status podman.socket podman.serviceAssuming the status messages show no errors, the libpod service is ready to respond to the APIv2 on the unix domain socket /run/user/$(id -u)/podman/podman.sock