Skip to content

Commit

Permalink
update script for newer docker formats
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoch-cars committed Oct 9, 2024
1 parent 5b4ecfa commit 44444bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ else
fi

for name in $services; do
port=`docker inspect --format='{{(index (index .NetworkSettings.Ports "3306/tcp") 0).HostPort}}' myxql_${name}_1`
port=`docker inspect --format='{{(index (index .NetworkSettings.Ports "3306/tcp") 0).HostPort}}' myxql-${name}-1`
echo $name
MYSQL_TCP_PORT=$port $cmd
done

0 comments on commit 44444bc

Please sign in to comment.