Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
albertolerda committed Jan 30, 2024
1 parent 3fb8dab commit ef3ad05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion start-restroom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ docker run --name $RESTROOM_CONTAINER_NAME --publish 3000:3000 $FILES_PARAMS $LO
docker inspect $RESTROOM_CONTAINER_NAME
ip a

while ! nc -z $RESTROOM_CONTAINER_NAME 3000; do
docker ps -a
IP=`docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $RESTROOM_CONTAINER_NAME`

while ! nc -z $IP 3000; do
sleep 1
done

0 comments on commit ef3ad05

Please sign in to comment.