Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi-arch manifest lists #1102

Closed
paleozogt opened this issue Mar 3, 2020 · 9 comments · Fixed by #2306
Closed

multi-arch manifest lists #1102

paleozogt opened this issue Mar 3, 2020 · 9 comments · Fixed by #2306
Labels
area/behavior all bugs related to kaniko behavior like running in as root kind/feature-request priority/p3 agreed that this would be good to have, but no one is available at the moment.

Comments

@paleozogt
Copy link

Actual behavior

I'm building multi-arch containers with kaniko. I'd like to be able to stitch them together with a manifest list and push to a registry. Sadly, I have to switch back to Docker in order to do this last step. Since the whole point of kaniko is to avoid using Docker it seems like it should support manifest lists.

Expected behavior

Be able to make manifest lists with kaniko directly.

Triage Notes for the Maintainers

Description Yes/No
Please check if this a new feature you are proposing
  • - [x ]
Please check if the build works in docker but not in kaniko
  • - [x ]
Please check if this error is seen when you use --cache flag
  • - [x ]
Please check if your dockerfile is a multistage dockerfile
@tejal29 tejal29 added this to the Release v1.1.0 milestone Mar 7, 2020
@tejal29 tejal29 added kind/feature-request priority/p3 agreed that this would be good to have, but no one is available at the moment. labels Mar 7, 2020
@tejal29
Copy link
Contributor

tejal29 commented Mar 7, 2020

Hi @paleozogt Thank you for opening an issue and identifying an essential gap!

I have added this to our next milestone

@khassel
Copy link

khassel commented May 3, 2020

as long as this is not implemented you can add https://github.com/estesp/manifest-tool to the kaniko-image.

@tejal29 tejal29 added the area/behavior all bugs related to kaniko behavior like running in as root label May 8, 2020
@tejal29 tejal29 removed this from the Release v1.1.0 milestone May 8, 2020
@azamora-zsc
Copy link

Any news about this feature? I see this thread is almost one year old and I wonder if there is any plan to implement the manifest list creation feature.

@itai-codefresh
Copy link

really need this one

@gitnik
Copy link

gitnik commented Jan 27, 2022

Any update on this? Critical for us in day-to-day operations

@imjasonh
Copy link
Contributor

There are currently no plans to implement this feature.

This project is staffed by volunteers, effectively. If you'd like to become one of those volunteers to implement this highly-demanded feature, I'd welcome your contribution, and I'd be happy to chat about how that might work, dive into the code, etc.

@TBBle
Copy link

TBBle commented Jan 28, 2022

To me, this seems somehow out-of-scope for Kaniko, and would be better suited to a dedicated registry-manipulation tool like manifest-tool or skopeo.

@imjasonh
Copy link
Contributor

To me, this seems somehow out-of-scope for Kaniko, and would be better suited to an dedicated registry-manipulation tool like manifest-tool or skopeo.

I agree. If you're building multiple single-platform images with Kaniko today, there are plenty of tools to help you stitch them together into a single multi-platform image. docker manifest doesn't seem to require a daemon to append and push a manifest list.

If people want this functionality in kaniko itself, it might help to discuss what you'd want it to look like. Currently, executor only builds and pushes, should there be a separate image for that? At that point, why not use skopeo, manifest-tool, docker manifest? Or should it be a separate command of executor?

Maybe this is just a documentation issue, and we can develop/test/document a workflow for using Kaniko + some other tool to produce multi-platform images. wdyt?

@gsquared94
Copy link

we can develop/test/document a workflow for using Kaniko + some other tool to produce multi-platform images. wdyt?

This can work: #786 (comment)

Jasper-Ben added a commit to Jasper-Ben/kaniko that referenced this issue Nov 3, 2022
While kaniko itself does not natively support building multi-arch
container manifests, it may be used in combination with tools such as
manifest-tool to create and merge seperate arch builds into a single
manifest.

Fixes GoogleContainerTools#1102
Fixes GoogleContainerTools#786
Jasper-Ben added a commit to Jasper-Ben/kaniko that referenced this issue Nov 3, 2022
While kaniko itself does not natively support building multi-arch
container manifests, it may be used in combination with tools such as
manifest-tool to create and merge seperate arch builds into a single
manifest.

Fixes GoogleContainerTools#1102
Fixes GoogleContainerTools#786
Jasper-Ben added a commit to Jasper-Ben/kaniko that referenced this issue Jun 2, 2023
While kaniko itself does not natively support building multi-arch
container manifests, it may be used in combination with tools such as
manifest-tool to create and merge seperate arch builds into a single
manifest.

Fixes GoogleContainerTools#1102
Fixes GoogleContainerTools#786
Jasper-Ben added a commit to Jasper-Ben/kaniko that referenced this issue Jun 2, 2023
While kaniko itself does not natively support building multi-arch
container manifests, it may be used in combination with tools such as
manifest-tool to create and merge seperate arch builds into a single
manifest.

Fixes GoogleContainerTools#1102
Fixes GoogleContainerTools#786
Jasper-Ben added a commit to Jasper-Ben/kaniko that referenced this issue Jun 2, 2023
While kaniko itself does not natively support building multi-arch
container manifests, it may be used in combination with tools such as
manifest-tool to create and merge seperate arch builds into a single
manifest.

Fixes GoogleContainerTools#1102
Fixes GoogleContainerTools#786
aaron-prindle pushed a commit that referenced this issue Jun 7, 2023
* Add guide on creating multi-arch manifests

While kaniko itself does not natively support building multi-arch
container manifests, it may be used in combination with tools such as
manifest-tool to create and merge seperate arch builds into a single
manifest.

Fixes #1102
Fixes #786

* Add missing toc entry
kylecarbs pushed a commit to coder/kaniko that referenced this issue Jul 12, 2023
* Add guide on creating multi-arch manifests

While kaniko itself does not natively support building multi-arch
container manifests, it may be used in combination with tools such as
manifest-tool to create and merge seperate arch builds into a single
manifest.

Fixes GoogleContainerTools#1102
Fixes GoogleContainerTools#786

* Add missing toc entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/behavior all bugs related to kaniko behavior like running in as root kind/feature-request priority/p3 agreed that this would be good to have, but no one is available at the moment.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants