Skip to content

How to set image label "nerdctl/platform" when commit a container? #1052

Answered by fahedouch
huanghantao asked this question in Q&A

You must be logged in to vote

You are commting a container, If this container is previously running without platform labels then the commit can't find this label and will set default platform label ( which is the platform that you are running on) . So to avoid this message try to create/run you container with --platform flag

Replies: 2 comments 4 replies

You must be logged in to vote
3 replies
@huanghantao

@junnplus

@huanghantao

You must be logged in to vote
1 reply
@huanghantao

Answer selected by fahedouch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants