We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 88173f0 + 1cd6dd6 commit 62ca0bbCopy full SHA for 62ca0bb
cmd/nerdctl.lima
@@ -1,4 +1,10 @@
1
#!/bin/sh
2
set -eu
3
+
4
+# Environment Variables
5
+# LIMA_INSTANCE: Specifies the name of the Lima instance to use. Default is "default".
6
7
+: "${LIMA_INSTANCE:=default}"
8
9
# Use --preserve-env to pass through environment variables from host machine into guest instance
-exec limactl shell --preserve-env default nerdctl "$@"
10
+exec limactl shell --preserve-env "$LIMA_INSTANCE" nerdctl "$@"
0 commit comments