Files
lima/cmd/nerdctl.lima
T
2025-12-07 04:42:12 +09:00

11 lines
323 B
Bash
Executable File

#!/bin/sh
set -eu
# Environment Variables
# LIMA_INSTANCE: Specifies the name of the Lima instance to use. Default is "default".
: "${LIMA_INSTANCE:=default}"
# Use --preserve-env to pass through environment variables from host machine into guest instance
exec limactl shell --preserve-env "$LIMA_INSTANCE" nerdctl "$@"