Hi,
I'm trying to port one of my dockerfiles to Go project using Dagger Go SDK but I'm having some issues with pulling the image from private registry.
Setup:
- go version go1.19.3 linux/amd64
- Rancher Desktop Version: 1.6.1
- using RD with Moby Docker Version: 20.10.17-rd
- private registry has self-signed CA that is trusted in the OS
What does work:
docker loginto the private registry anddocker pullimages from the private registryDOCKER_BUILDKIT=1 docker buildanddocker pushto the private registry
What does not work:
- using dagger client in Go SDK to pull image from the private registry with
client.Container().From()where I specify the private image path
I've started the discussion here: #1043235579241963621 message
Tried suggestion to log in the code to the private registry, it logs in but doesn't affect anything: #1031785076029128784 message