https://rancher.com/ logo
m

many-machine-56470

10/31/2022, 3:03 PM
Hello, I'm trying to use
buildx
with Rancher Desktop. The build goes fine by providing the
--output=push
option but when the time comes for exporting, the following error shows up
Copy code
#8 DONE 308.4s

#10 exporting to client
#10 copying files linux/amd64 42.15kB 0.0s done
#10 copying files linux/arm64 24.19kB 0.0s done
#10 ERROR: error from receiver: failed to create device push/linux_amd64/dev/console: operation not permitted
------
 > exporting to client:
------
ERROR: failed to solve: error from receiver: failed to create device push/linux_amd64/dev/console: operation not permitted
This same behavior is seen when using
--output=image
except that the error says
failed to create device image/linux_amd64/dev/console
My machine is a MacBook Pro with an M1 Max CPU and I'm using a container registry at gitlab Has anyone gotten
buildx
to work on Ranched Desktop?
Just in case anyone else finds this issue, it was a silly mistake on my end, I was using
--output=image
instead of
--output=type=image
And since I can't edit the above, the
--output=push
should have been
--output=type=registry
39 Views