COMMIT in podman build is much slower than in docker build #21819
Unanswered
carles-aiven
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Can you run Podman as root as well for a more fair comparison? A factor of 2 for that Dockerfile seems too off as it's a purely I/O bound operation. Buildkit is usually a bit more clever when it comes to running instructions in parallel, but that's not the case here. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please have a look at this experiment (building a container with a 2GB file):
The host is Fedora 38, the filesystem is btrfs, and podman is using native overlay.
You can try this experiment with a more realistic file, such as a big git repository and you should see the same result.
Podman commit is much slower than the equivalent in Docker. Is there any room for optimization? Could the Podman developers apply the same optimizations that buildkit is doing to buildah?
Beta Was this translation helpful? Give feedback.
All reactions