summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-08-15 12:16:26 -0500
committerToby Vincent <tobyv13@gmail.com>2021-08-15 12:16:26 -0500
commita26400ffca863acdeb47cfcad62717aed78d3c1c (patch)
treec113dcfcfe5dbb77a903ea7d6cf7cb8233c6b917
parent2628a586ac4ce2af7a18ca86dbdd93ce015db68e (diff)
fix: fixed bug in docker machine use alias
-rw-r--r--shell/wsl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/wsl.sh b/shell/wsl.sh
index 991adbc..100deaf 100644
--- a/shell/wsl.sh
+++ b/shell/wsl.sh
@@ -21,7 +21,7 @@ alias ykman='/mnt/c/Program\ Files/Yubico/YubiKey\ Manager/ykman.exe'
alias dmu="docker-machine-wsl"
function docker-machine-wsl() {
- docker-machine-use
+ docker-machine-use $@
export DOCKER_HOST=${DOCKER_HOST:-tcp://0.0.0.0:2375}
export DOCKER_MACHINE_NAME=${DOCKER_MACHINE_NAME:-$HOST}
}