Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using binfmt/qemu within a k8s pod without docker.sock #52

Closed
Shaked opened this issue Jul 15, 2021 · 1 comment
Closed

Using binfmt/qemu within a k8s pod without docker.sock #52

Shaked opened this issue Jul 15, 2021 · 1 comment

Comments

@Shaked
Copy link

Shaked commented Jul 15, 2021

Hey, I’m interested to use docker buildx with multi platform support. I have everything set except of QEMU as I cannot use docker run within my k8s pod as docker.sock is no longer available and cannot be mounted through the host/nodes.

How could I set this to work?

@morlay
Copy link

morlay commented Jul 21, 2021

Once this PR merge, it could be easy to install QEMU in k8s

docker/buildx#682

initContainer will be added when --driver-opt=qemu.install=true

initContainers:
    - name: qemu
      image: 'tonistiigi/binfmt:latest'
      args:
        - '--install'
        - all
      imagePullPolicy: Always
      securityContext:
        privileged: true

Repository owner locked and limited conversation to collaborators Aug 14, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants