Skip to content

Docker 28.1.0 is not compatible with docker/setup-buildx-actionΒ #486

@darrentmagic

Description

@darrentmagic

When using docker/setup-buildx-action with the latest version of Docker (28.1.0) the buildx setup action is unable to connect to the docker socket. It appears it's unavailable at the location expected (/run/user/1000/docker.socket).

Run docker/setup-buildx-action@v3
Docker info
  /home/ubuntu/bin/docker version
  Client:
   Version:           28.1.0
   API version:       1.49
   Go version:        go1.23.8
   Git commit:        4d8c241
   Built:             Thu Apr [17](https://github.com/<org>/<repo>/actions/runs/14517224841/job/40735437133#step:5:18) 09:53:56 2025
   OS/Arch:           linux/amd64
   Context:           default
  Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?
  The process '/home/ubuntu/bin/docker' failed with exit code 1
Download buildx from GitHub Releases
Install buildx
  Docker plugin mode
  Fixing perms
  Plugin path: /home/ubuntu/.docker/cli-plugins/docker-buildx
Buildx version
Inspecting default docker context
Creating a new builder instance
Error: ERROR: failed to initialize builder builder-05f95600-d266-4d50-a4fd-39a4[23](https://github.com/<org>/<repo>/actions/runs/14517224841/job/40735437133#step:5:24)e5d0e0 (builder-05f95600-d266-4d50-a4fd-39a423e5d0e00): Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?

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