Replies: 1 comment 3 replies
-
Registry mirror can be set through the BuildKit configuration: https://docs.docker.com/build/buildkit/configure/#registry-mirror |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently contributing to a Woodpecker CI plugin for building docker images. I'm focused on using it in an enterprise environment behind a http proxy.
I managed to add missing args like
--driver-opt
, but now ran into an issue where buildkit or the builder doesn't use the internal mirror from the docker daemon.I found some issues and discussions about the
--buildkitd-flags
. Is there any way to set an registry mirror with this flag?So i could also implement the flag into the plugin step which creates the builder like this:
As workaround I have to change all the
FROM
statements in theDockerfile
s and prepend the mirror url like this:Beta Was this translation helpful? Give feedback.
All reactions