Skip to content

Very slow build time compared to Docker for Mac #68

@outcoldman

Description

@outcoldman

Just out of curiosity, I tried to build container cli and run it. (macOS 26 on MBA M2).

I have an enterprise software that I package in the docker image, it is ~5GB image.

On Docker for Mac it takes about 3-4 minutes to build.

With container it takes 17 minutes :(

Specifically it takes forever to run those steps:

 => exporting to oci image format                                                                                                                                          168.3s
 => => exporting layers                                                                                                                                                    147.3s
 => => exporting manifest sha256:c588472a6181c73404c412ba128eea840598578191be4b6631f5794a6107b6f3                                                                            0.0s
 => => exporting config sha256:0f34010f259e1c8140d3c7cdd81d0ada30fc8a9a95f20ae0bd056dad9fe01fd3                                                                              0.0s
 => => exporting manifest list sha256:963f1440f2064899e331f4b4e568a0693a08a639c8c907f52c34748b39bd027b                                                                       0.0s
 => => sending tarball                                                                                                                                                      20.9s
⠸ Unpacking built image for platform linux/amd64 (67.5 MB, 2.0 MB/s) [14s]  

I am still waiting for the unpacking step.

So the last command still runs

⠹ Unpacking built image for platform linux/amd64 (2.47 GB, 370 KB/s) [6m 37s]  

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions