Skip to content

Commit

Permalink
Remove Docker Desktop if statement (ansible#15778)
Browse files Browse the repository at this point in the history
Remove docker desktop if statement
  • Loading branch information
djyasin authored Jan 28, 2025
1 parent 1f50364 commit 0023885
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tools/docker-compose/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@

0 comments on commit 0023885

Please sign in to comment.