This commit is contained in:
zav 2025-09-01 17:58:13 -04:00
parent bedde4a037
commit 97aae3b330

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 "$@"