build context #658
-
Hello, I'm using sysbox with docker compose (runtime: sysbox-runc), it works perfectly fine, however I'm struggling to get good performance when I use a docker build command. I'm using a virtual machine hosted on Azure and my goal is to register few agents to run pipelines (using DinD as well). While in a not secure approach (mounting /var/run/docker.sock from the host to the agent container), the performances are really good (1 minute to build and push images), when using sysbox-runc as runtime, the same step takes 20 minutes. tracelog when using sysbox-runc :
tracelog without (/var/run/docker.sock bind mount) :
Do you guys have any recommandation in terms of performance (I'm already using .dockerignore file to reduce the build context to the minimal size which is approx 250MB) ? Thanks you for you time and I'll be glad to fill more information if needed. regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Franck (@franckdrion), thanks for giving Sysbox a shot. I am pretty sure you are hitting this issue. Basically, Sysbox intercepts the Fortunately you can turn it off, either globally on or a per container basis, as described in that link. Please let us know if that works. |
Beta Was this translation helpful? Give feedback.
Hi Franck (@franckdrion), thanks for giving Sysbox a shot.
I am pretty sure you are hitting this issue.
Basically, Sysbox intercepts the
*xattr
syscalls inside the container, and that's not good for some workloads (in retrospect, I think it was a mistake on our part to add that intercept).Fortunately you can turn it off, either globally on or a per container basis, as described in that link.
Please let us know if that works.