Created
June 22, 2023 20:24
-
-
Save siwonpawel/7b2c75384de35a7d2e56b0757fd271e4 to your computer and use it in GitHub Desktop.
Short instruction on how to configure podman to autostart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Podman autostart | |
sudo loginctl enable-linger $USER | |
podman generate systemd --new --name CONTAINER_NAME -f | |
mv -v FILENAME.service ~/.config/systemd/user/ | |
systemctl --user daemon-reload | |
systemctl --user enable FILENAME.service | |
Now the service should autostart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment