Created
August 18, 2020 17:40
-
-
Save dadatuputi/34b090c6a2a8fe998eb8fd1748841fcf to your computer and use it in GitHub Desktop.
Generate podman service files from existing containers
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
#!/bin/bash | |
podman container list -a --format "{{.Names}}" | while read i; do podman generate systemd -fn --new $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment