adamant-kite-43734
06/08/2022, 3:58 AMbest-accountant-68201
06/08/2022, 7:45 AMnerdctl
binary on macOS calls the nerdctl
binary inside the Linux VM
• The nerdctl
binary inside the Linux VM calls the buildctl
binary
• The buildctl
binary connects to buildkitd
and calls its gRPC APIbest-accountant-68201
06/08/2022, 7:46 AMmelodic-hamburger-23329
06/08/2022, 8:07 AMbest-accountant-68201
06/08/2022, 8:08 AMDOCKER_BUILDKIT=1
uses BuildKit as a library, but does not use buildkitd daemonbest-accountant-68201
06/08/2022, 8:08 AMdocker buildx
uses buildkitd. The implementation is same as nerdctl’s buildkitd, but instances are differentbest-accountant-68201
06/08/2022, 8:09 AMdocker buildx
typically uses a BuildKit daemon running in a Docker container with the OCI worker modebest-accountant-68201
06/08/2022, 8:09 AMbest-accountant-68201
06/08/2022, 8:10 AMdocker buildx
does not use the container worker mode because Docker still does not utilize containerd for image management)melodic-hamburger-23329
06/08/2022, 8:58 AMOk, this explains things. Thanks. I’m trying to figure out how jib (ticket, ticket) could be made to work with RD. It can push to image registries without dependencies on Docker, but local build requires Docker daemon. Would it be possible for RD to expose the internal registry - I guess there’s some daemon running that provides standard registry interface? If this would be possible, I could just pass the registry’s localhost URL to jib and achieve what I want. Would this make sense and be possible?typically uses a BuildKit daemon running in a Docker container with the OCI worker modedocker buildx
bored-farmer-36655
06/08/2022, 3:03 PM--namespace <http://k8s.io|k8s.io>
https://docs.rancherdesktop.io/tutorials/working-with-images/melodic-hamburger-23329
06/08/2022, 3:32 PMbored-farmer-36655
06/08/2022, 3:39 PMfast-garage-66093
06/08/2022, 4:47 PMnerdctl
needs access to this filesystem for pulling images, or building them, which is why it has to run inside the VM, and the nerdctl
command on macOS is just a wrapper that invokes the real command inside the VM shell. See also Support remote containerd management · Issue #473 · containerd/nerdctl