Skip to content

Instantly share code, notes, and snippets.

View johnervan's full-sized avatar
💭
Working

Johnervan Lee johnervan

💭
Working
View GitHub Profile
@johnervan
johnervan / Setup Lima with Docker
Last active January 31, 2022 14:53
Docker for Desktop Alternative
# Install with Homebrew. All are open source.
1. brew install lima
2. brew install docker
3. brew install docker-compose
# Setup Lima Docker VM
1. Copy https://github.com/lima-vm/lima/blob/master/examples/docker.yaml to .lima/ (Can choose any directory actually)
2. limactl start ~/.lima/docker.yaml
3. export DOCKER_HOST=unix:///Users/<user_id>/.lima/docker/sock/docker.sock