Remove Docker Desktop if statement (#15778) (#6797)

Remove docker desktop if statement
This commit is contained in:
Lila Yasin 2025-02-03 13:35:19 -05:00 committed by GitHub
parent 148f28f448
commit b7b15584af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,10 +26,7 @@ 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
export SDB_NOTIFY_HOST=$(ip route | head -n1 | awk '{print $3}')
exec $@