diff options
author | drebs <drebs@leap.se> | 2017-04-19 10:18:27 +0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-04-19 11:49:42 +0200 |
commit | 40f2cb8b1f07b1346e01ff69b57e14c492f1cd0b (patch) | |
tree | 9cab2f54014ffb7a56e1d75fd5ef0a70369afd63 /scripts/docker/helper/get-container-ip.sh | |
parent | a4558ea4874e0de3561f228b41ef0a94a2e4c326 (diff) |
[test] remove docker scripts from this repo
Docker scripts are only used for CI and do not need to be in this
repository. Beause of that, we decided to moved the docker scripts to a
private repository where dockerfiles for other parts of leap also live.
Diffstat (limited to 'scripts/docker/helper/get-container-ip.sh')
-rwxr-xr-x | scripts/docker/helper/get-container-ip.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/docker/helper/get-container-ip.sh b/scripts/docker/helper/get-container-ip.sh deleted file mode 100755 index 2b392350..00000000 --- a/scripts/docker/helper/get-container-ip.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# Print the IP of a container to stdout, given its id. Check the output for -# the `docker inspect` commmand for more details: -# -# https://docs.docker.com/engine/reference/commandline/inspect/ - -if [ ${#} -ne 1 ]; then - echo "Usage: ${0} container_id" - exit 1 -fi - -container_id=${1} - -/usr/bin/docker \ - inspect \ - --format='{{.NetworkSettings.IPAddress}}' \ - ${container_id} |