diff --git a/.local/bin/docker-ip b/.local/bin/docker-ip index ef113ba..f2ede46 100755 --- a/.local/bin/docker-ip +++ b/.local/bin/docker-ip @@ -1,3 +1,3 @@ #!/bin/bash -sudo docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' +sudo docker inspect $@ -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}'