Skip to content

Commit

Permalink
properly use -H
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Oct 10, 2024
1 parent 5f99ab2 commit e17186b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dojo/dojo
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ case "$ACTION" in
do
if docker -H $NODE ps | grep -q "$CONTAINER$"
then
DOCKER_ARGS="$DOCKER_ARGS -H $NODE"
break
docker -H "$NODE" exec $DOCKER_ARGS $USER_SWITCH "$CONTAINER" bash
exit $?
fi
done
docker exec $DOCKER_ARGS $USER_SWITCH "$CONTAINER" bash
;;

# HELP: compose ARGS: run a docker compose command with the config.env file loaded
Expand Down

0 comments on commit e17186b

Please sign in to comment.