Skip to content

Commit

Permalink
in non docker-machine env's it will be localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonicNinja committed Apr 23, 2016
1 parent 6003bb1 commit 6ed015d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions run_docker.sh
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
set -e

exists()
{
Expand Down Expand Up @@ -29,7 +28,7 @@ if exists docker-machine; then
PYDRILL_PORT=8047
else
echo "You don't use docker-machine"
PYDRILL_HOST=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' ${CID})
PYDRILL_HOST='localhost'
PYDRILL_PORT=8047
fi

Expand Down

0 comments on commit 6ed015d

Please sign in to comment.