docker / docker/docker-install

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

Open
#486 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
3.2k
Forks
863
Avg merge
3h 15m
Merged PRs (30d)
2

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with Docker 28.1.0 and docker/setup-buildx-action@v3, then inspect the repository’s shell installation script for how the Docker socket or context is configured. The work is done when the action can initialize a buildx builder without the socket connection error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.