Skip to content

Commit

Permalink
build: Use latest Colima
Browse files Browse the repository at this point in the history
  • Loading branch information
jesse-c committed May 30, 2024
1 parent d372323 commit b827da6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions hack/install-docker-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ brew install lima

# Install Colima
sudo mkdir -p /usr/local/bin
sudo curl -L -o /usr/local/bin/colima https://github.com/abiosoft/colima/releases/download/v0.5.6/colima-Darwin-x86_64 && sudo chmod +x /usr/local/bin/colima
# NOTE: Use the `slirp` driver rather than the default to avoid
# random connection errors.
# From https://github.com/abiosoft/colima/issues/577
colima start --memory 5 --network-driver slirp --runtime docker
sudo curl -L -o /usr/local/bin/colima https://github.com/abiosoft/colima/releases/download/v0.6.9/colima-Darwin-x86_64 && sudo chmod +x /usr/local/bin/colima
colima start --memory 5 --runtime docker

# Link Colima and Docker
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock

0 comments on commit b827da6

Please sign in to comment.