Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mackankowski/7b6b1d861359d31b8a28195432d86d4d to your computer and use it in GitHub Desktop.
Save mackankowski/7b6b1d861359d31b8a28195432d86d4d to your computer and use it in GitHub Desktop.
Install & run Docker on macOS (instead of Docker Desktop)

https://github.com/abiosoft/colima

Colima

Instalation

brew install colima
brew install kubectl
brew install docker
brew install docker-compose

Running

colima start --with-kubernetes

colima stop

Fix DNS

E.g. when docker run hello-world command fails.

colima ssh
sudo chown $(whoami) /etc/resolv.conf
sudo sed -i 's/nameserver.*/nameserver 8.8.8.8/g' /etc/resolv.conf
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment