diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index e63b59b9..54280c86 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -28,10 +28,21 @@ jobs: brew install docker-compose mkdir -p ~/.docker/cli-plugins ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose - colima start - # For testcontainers to find the Colima socket - # https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running - sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock + sudo dockerd --unprivileged + # colima start + # # For testcontainers to find the Colima socket + # # https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running + # sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock + + # curl -fsSL https://get.docker.com -o get-docker.sh + # sudo sh get-docker.sh + # sudo usermod -aG docker $USER + # sudo chown $USER /var/run/docker.sock + # newgrp docker + # sudo dseditgroup -o edit -a $(whoami) -t user docker + + # sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose + # sudo chmod +x /usr/local/bin/docker-compose - name: Setup pg (on Windows) if: runner.os == 'windows'