This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example to use Docker instead of containerd & nerdctl | |
# $ limactl start ./docker.yaml | |
# $ limactl shell docker docker run -it -v $HOME:$HOME --rm alpine | |
# To run `docker` on the host (assumes docker-cli is installed): | |
# $ export DOCKER_HOST=$(limactl list docker --format 'unix://{{.Dir}}/sock/docker.sock') | |
# $ docker ... | |
# This example requires Lima v0.8.0 or later | |
images: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ -n "${DEBUG}" ]]; then | |
set -x | |
fi | |
# Run container removal | |
CONTAINER_NAMES_TO_EXCLUDE=() | |
CONTAINER_NAMES_TO_EXCLUDE+=("gitlab-runner") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -x | |
set -euo pipefail | |
# download yq-binary and only start as soon as the binary is present | |
until curl \ | |
-L -o yq \ | |
https://github.com/mikefarah/yq/releases/download/3.1.2/yq_linux_amd64 \ | |
; do sleep 1 ; done |