Skip to content

How to enable buildx when using DinD? #349

@rolandjitsu

Description

@rolandjitsu

I'm trying to implement a CI pipeline using Docker in Docker on Gitlab. And so far it seem to work, but I was wondering if there's a way to enable the buildx command for the child docker containers.

I can run docker buildx on the host, but the child docker containers don't seem to have this.

Do I need to manually download the buildx binary? If I do, where should it actually go as there's no home dir to move it to?

NOTE: I'm using the official docker image.

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