From 7abe3cd4b271504d17646e21c9149a5f4688819e Mon Sep 17 00:00:00 2001 From: Heorhii Date: Sun, 31 Dec 2023 00:52:11 +0100 Subject: [PATCH] Added different way to setup docker --- .github/workflows/test-macos.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) 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'