Skip to content

Instantly share code, notes, and snippets.

@msdousti
Created September 4, 2023 09:50
Show Gist options
  • Save msdousti/3fd15865191140d6c9553144cc42980d to your computer and use it in GitHub Desktop.
Save msdousti/3fd15865191140d6c9553144cc42980d to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euxo pipefail
echo "Starting Colima..."
colima start >/dev/null 2>&1
echo "Creating docker.sock anew..."
sudo bash -c '
rm /var/run/docker.sock >/dev/null 2>&1
ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment