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
Discussion options

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

Comment options

You must be logged in to vote
3 replies
@huanghantao
Comment options

@junnplus
Comment options

@huanghantao
Comment options

Comment options

You must be logged in to vote
1 reply
@huanghantao
Comment options

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