How to make an image with docker build
inside
#1432
Unanswered
DrissiReda
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to install Dataiku using bootc instead of a VM. The end goal is to run the resulting qcow2 on qemu/kvm.
This requires a couple of
docker build
commands inside of the qcow2 since the resulting VM will need to have docker images loaded in the container runtime.It seems like this isn't supposed to work in bootc. Because I'm using this minimalist
Dockerfile
:The
Dockerfile.tmp
isn't important it's just aFROM alpine
andapk add curl
This gives the error:
This is quite cryptic, but I imagine it is due to the fact that the socket isn't loaded in bootc during build. I also tried buildah which doesn't work either maybe because it needs user namespace which is not available in bootc building runtime.
Is there any way to do what I need to do?
The option of building the image outside the bootc then loading its layers isn't much of an option either, because building said image requires the entire context and that's not something I want on the host.
Beta Was this translation helpful? Give feedback.
All reactions