Skip to content

Instantly share code, notes, and snippets.

@rjamestaylor
Last active September 2, 2021 22:37
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjamestaylor/1c84be2d5b608c54d9be8a8f70d33c62 to your computer and use it in GitHub Desktop.
Save rjamestaylor/1c84be2d5b608c54d9be8a8f70d33c62 to your computer and use it in GitHub Desktop.
Replacing Docker Desktop on my MacBook in under an hour
When Darth Docker sent me the email changing the terms of use retroactively (!) I decided to start looking for alternatives.
About 30 minutes later I found Lima (and nerdctl).
Less than an hour later, I no longer use Docker Desktop.
Not even for retrieving container images in corportate repos that require credentials.
I just replaced Docker on my MacBook with Lima.
$ brew install lima
Then set up a default execution environment for nerdctl:
$ limactl start default (default is ubuntu something something)
Next, I added to my ~/.zshrc:
$ alias docker='lima nerdctl'
And my operational container images in Artifcatory are running for me using standard docker login and docker run , etc.
Maybe there’s a gotcha, but for my terraform and ansible containers, this works perfect — don’t even need to edit my history.
For more information on Lima, execute:
$ brew info lima
and follow the links to the github repo.
From there, visit the links to nerdctl :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment