Skip to content

Instantly share code, notes, and snippets.

@johnervan
Last active January 31, 2022 14:53
Show Gist options
  • Save johnervan/068c3277cedaf35b603bb52ae91eb4ec to your computer and use it in GitHub Desktop.
Save johnervan/068c3277cedaf35b603bb52ae91eb4ec to your computer and use it in GitHub Desktop.
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
# Verify
1. docker image ls
Reference:
- https://github.com/lima-vm/lima
- https://medium.com/nttlabs/containerd-and-lima-39e0b64d2a59
@johnervan
Copy link
Author

Oh yes thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment