Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
lima-vm
GitHub Repository: lima-vm/lima
Path: blob/master/cmd/nerdctl.lima
2606 views
#!/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 "$@"