Created
January 13, 2020 15:27
-
-
Save altmind/d65781269ba5d3c430a37fbbfe2cf503 to your computer and use it in GitHub Desktop.
This file contains 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
[Unit] | |
After=network.service | |
[Service] | |
Type=simple | |
PIDFile=/run/container-registry.pid | |
ExecStartPre=-/usr/bin/podman rm --storage -f container-registry | |
ExecStart=/usr/bin/podman run --conmon-pidfile=/run/container-registry.pid --rm -p 5000:5000 registry:2 | |
Restart=on-failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment