This commit is contained in:
Zav Shotan 2026-04-19 15:25:30 -05:00 committed by GitHub
commit 66f0f8f7eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

14
scripts/lazypodman Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
# Run the lazy docker for podman installations. Auto starts as root.
# Run as root
if [[ $EUID -ne 0 ]]; then
exec sudo $0 "$@"
exit $?
fi
# Run and connect to podman host
: "${DOCKER_HOST:="unix:///run/podman/podman.sock"}"
export DOCKER_HOST
lazydocker "$@"