We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b352f commit 5be3f8dCopy full SHA for 5be3f8d
docker/podman-docker.sh
@@ -1,7 +1,7 @@
1
# DOCKER_HOST initialization
2
3
if [ -z "${DOCKER_HOST-}" ]; then
4
- if [ $(id -u) -eq 0 ]; then
+ if [ "$(id -u)" -eq 0 ]; then
5
export DOCKER_HOST=unix:///run/podman/podman.sock
6
else
7
if [ -n "${XDG_RUNTIME_DIR-}" ]; then
0 commit comments