Skip to content

depot configure-docker failing with docker 29.0.0 #17

@juan-sanchez-sentra

Description

@juan-sanchez-sentra

Hi! Sorry if I'm not posting this in the right place. I'm not sure whether this is a problem with the cli or the GitHub action.

In any case, it seems that the usage of depot as a docker plugin breaks with Docker 29.0.0.

We get an error like this one when running "depot configure-docker":

Error: could not configure buildx: unable create driver container: unable to download image: unable to download image: Error response from daemon: client version 1.43 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version.

Here is a minimal workflow to reproduce it. When downgrading to docker version 28.5.1, it works

name: Depot test

on:
  workflow_dispatch:

jobs:
  depot-test:
    name: depot-test
    runs-on: ubuntu-latest

    steps:
      - name: Setup Docker
        id: docker
        uses: docker/setup-docker-action@v4
#        with:
#          version: 28.5.1

      - name: Set up Depot CLI
        uses: depot/setup-action@v1

      - name: Install Depot as a docker plugin
        env:
          DEPOT_TOKEN: "xxx"
          DEPOT_PROJECT_ID: "xxx"
        run: depot configure-docker

Is this something that can be worked out in any other way than downgrading docker?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions