Create a docker context with a buildkit remote daemon in kubernetes #5167
Unanswered
Momotoculteur
asked this question in
Q&A
Replies: 1 comment 11 replies
-
This one might be easier to set up, as it uses buildkit/examples/kubernetes/README.md Lines 16 to 21 in 7c025bf The |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all !
I have a kubernetes which run a Docker buildkit rootless daemon, without TLS (See that docker buildx, but currently i made my own chart here)
I want to have that scenario in my Jenkins pipeline :
To have Trivy working with image, i need to be able to load my previous builded image or to be able to make a docker pull command
I tried to load the image when building :
But this seem to not work.
I'm not a pro with Buildkit & buildx and other. In my opinion i need to create a docker context connected to my Buildkit daemon ? cause when i check image i can see layers & images in my daemon.
I tried to create via :
But that gave me this following error :
I also tried to force to skip the TLS verify via :
But that gave me another weird error :
A possible solution would be to build my image in local in a tar.gz format, scan it via trivy, and to re-build & push to my registry. Or to copy it via a tool like Skopeo, but i don't find this solution to be optimal.
Beta Was this translation helpful? Give feedback.
All reactions