Browse Source

bin: add `docker-ip` helper to get the IP address of a container

Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com>
master
Alejandro Mery 6 years ago
committed by Alejandro Mery
parent
commit
c946aaf1b7
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      files/bin/docker-ip

+ 3
- 0
files/bin/docker-ip

@ -0,0 +1,3 @@
#!/bin/sh
exec docker inspect --format '{{ .NetworkSettings.IPAddress }}' "$@"

Loading…
Cancel
Save