diff --git a/.github/workflows/ci-rootless.yml b/.github/workflows/ci-rootless.yml index 21ff4f793c6..cdf5a6ca03b 100644 --- a/.github/workflows/ci-rootless.yml +++ b/.github/workflows/ci-rootless.yml @@ -47,6 +47,14 @@ jobs: checks: write steps: - uses: actions/checkout@v4 + - name: Install Latest Docker + run: | + sudo systemctl stop docker.service + sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin + curl -fsSL https://test.docker.com -o get-docker.sh + sudo REPO_FILE=docker-ce-staging.repo DOWNLOAD_URL=https://download-stage.docker.com sh ./get-docker.sh + - name: Check Docker version + run: docker version - name: Setup rootless Docker uses: ScribeMD/rootless-docker@0.2.2 - name: Remove Docket root socket diff --git a/.github/workflows/moby-latest.yml b/.github/workflows/moby-latest.yml index 62ce85b1c9b..dfec7a88aef 100644 --- a/.github/workflows/moby-latest.yml +++ b/.github/workflows/moby-latest.yml @@ -20,11 +20,19 @@ jobs: - name: Install Stable Docker if: ${{ matrix.install-docker-type == 'STABLE' }} - run: curl https://get.docker.com + run: | + sudo systemctl stop docker.service + sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin + curl -fsSL https://test.docker.com -o get-docker.sh + sudo REPO_FILE=docker-ce-staging.repo DOWNLOAD_URL=https://download-stage.docker.com sh ./get-docker.sh - name: Install Docker from the TEST channel if: ${{ matrix.install-docker-type == 'ROOTFUL' }} - run: curl https://get.docker.com | CHANNEL=test sh + run: | + sudo systemctl stop docker.service + sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin + curl -fsSL https://test.docker.com -o get-docker.sh + sudo REPO_FILE=docker-ce-staging.repo DOWNLOAD_URL=https://download-stage.docker.com sh ./get-docker.sh - name: Setup rootless Docker if: ${{ matrix.install-docker-type == 'ROOTLESS' }}