Created
October 15, 2020 14:55
-
-
Save adrianriobo/66ee825b8f80862bb3e6132d5496fd2f to your computer and use it in GitHub Desktop.
podman as systemd generator
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
#!/bin/bash | |
podman run -d --name=gvisor-tap-vsock --privileged --net=host -it quay.io/crcont/gvisor-tap-vsock:v3 | |
podman generate systemd --restart-policy=no gvisor-tap-vsock > /etc/systemd/system/gvisor-tap-vsock.service | |
systemctl daemon-reload | |
systemctl enable gvisor-tap-vsock.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment