https://rancher.com/ logo
Title
q

quick-keyboard-83126

07/26/2022, 10:44 PM
Does anyone have a good workaround for
docker buildx build --platform linux/amd64
(on m1) being fairly annoying? Namely, I don't have a local registry (I suppose I could add one), and I need a local image w/ an extra piece of software. But:
WARNING: No output specified for docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
And I don't have the bandwidth to upload my patched image to a registry just so i can download it so i can use it.
f

fast-garage-66093

07/26/2022, 11:29 PM
Create a local registry running on the same runtime...
The
bats
setup is still work-in-progress, but that script works, and creates a
registry.internal
that runs on the same container runtime, and even has trusted certs (because the certs only need to be trusted inside the same VM).
$CRCTL
is either
docker
or `nerdctl`; the script works for both
h

hundreds-crowd-93261

07/27/2022, 3:23 AM
why can’t you pass --load?
👀 1