浏览文件
nerdctl.lima
10 行 · 323 B历史下载| 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 |
| 10 | exec limactl shell --preserve-env "$LIMA_INSTANCE" nerdctl "$@" |

