Replies: 2 comments 4 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.
-
| In case anyone stumbles across this: as alluded to, you can't set a docker builder mirror via  | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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
FROMstatements in theDockerfiles and prepend the mirror url like this:Beta Was this translation helpful? Give feedback.
All reactions