Set SDB_NOTIFY_HOST for all processes

This commit is contained in:
Shane McDonald
2021-03-03 18:52:54 -05:00
committed by Shane McDonald
parent f1df4c54f8
commit 81f6d36a3a
2 changed files with 6 additions and 9 deletions
+6
View File
@@ -21,4 +21,10 @@ fi
# writing out the sub*id files above
podman system migrate
if [[ "$OS" == *"Docker Desktop"* ]]; then
export SDB_NOTIFY_HOST='docker.for.mac.host.internal'
else
export SDB_NOTIFY_HOST=$(ip route | head -n1 | awk '{print $3}')
fi
exec $@