A collection of Lima configuration files to support docker-based development.
First, install Lima using Homebrew:
brew install lima
Start Lima using configuration:
limactl start dockerd.yaml
limactl start containerd.yaml
Configure socket (for dockerd):
export DOCKER_HOST=unix://${HOME}/docker.sock
or create alias (if using containerd):
alias docker="lima nerdctl"
Simple build:
docker pull ubuntu:latest
docker run -ti ubuntu:latest /bin/bash
Test volume mounting (replace SRC with local path to mount in the container):
docker run -v [SRC]:/mnt/tmp:rw -ti ubuntu:latest /bin/bash