Closed andrewufrank closed 4 years ago
Although this should still work (haven't tested your Dockerfile) the fact that you are running such a command hints to me that something is wrong. The local exporter is for exporting the raw files to a directory and is usually used together with multi-stage to export out build artifacts like binaries. You are exporting whole debian rootfs with a bunch of extra software on top of it. Not only does it seem useless to have such directories of files, because the owner of all the files will be the local user this debain would not even boot if reconverted to another format. If you want to get an image offline that you can move to another machine use oci or docker exporter. If you really want to extract raw filesystem data use tar exporter that can preserve the original ownership values.
thank you for clarification - indeed it was an error to use local exporter and I did obviously not undrerstand what it could be used for reasonable. Not likely useful for what I wanted to achieve! Thank you for clarification.
I was fighting with #327 and got there i received the perfect advice (from you)
Please test with moby/buildkit#1636 docker buildx create --driver-opt image=moby/buildkit:master
which solved all my problems!
I have problems
exporting to client
in abuildx
operation. The command is:docker buildx build --tag andrewufrank/xfce:latest --platform linux/arm/v7,linux/arm64,linux/amd64 --push .
it stops in the middle of theexport to client
operation at an arbitrary amount of transfer. in repeated invocations, the error occurs sooner or later, eventually timing out.I have tried
docker buildx build --tag andrewufrank/xfce:latest --platform linux/arm/v7,linux/arm64,linux/amd64 --output=type=local,dest=/home/frank/installation .
which seems to have the same issue, but leaves the images in the CACHE and the upload for the command withpush
starts immediately and fails at arbitrary amount of transfer, meaning a smaller or larger portion of the three images is transferred (one run gives 192 174 and 171 MB, the next stops at 169,113, and 203 MB).log
I can add the Dockerfile, which i think does not contain anything unusual:
and my version: