Skip to content

buildx bake with --print now requires a daemon #1344

@MaximeWeyl

Description

@MaximeWeyl

I'm using buildx bake in a docker image without a daemon in a CI process for preparing a docker-bake.json for future build.
In the image, I installed docker buildx with :

# usefull for doing a "docker-buildx bake --print" which does not require docker deamon to run
COPY --from=docker/buildx-bin /buildx /usr/local/sbin/docker-buildx

This does not work anymore :

ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions