Skip to content

Commit

Permalink
changed ./run_docker script
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonicNinja committed Apr 24, 2016
1 parent 33d44cf commit c41cc5a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions run_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ fi

screen -dm bash -c "./docker_drill_embedded.sh"


CID=$(docker ps | grep apache-drill | cut -d ' ' -f 1)
echo 'Docker cid' $CID
while [ "$CID" == "" ];
do
CID=$(docker ps | grep apache-drill | cut -d ' ' -f 1)
echo $(docker ps)
sleep 0.25
done

echo 'Docker cid' $CID

if exists docker-machine; then
PYDRILL_HOST=$(docker-machine ip)
Expand Down

0 comments on commit c41cc5a

Please sign in to comment.