From df9e9950302b480b55b31dc1e97b5b866ce0dc4e Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Mon, 4 Sep 2023 21:24:46 -0600 Subject: [PATCH] consume arguments --- .local/bin/docker-ip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}}'