-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
podman load ... [name:tag]
inconsistencies
#7387
Comments
after this, the image's name should be |
That really depends what we want to do. I am also open to change |
I think podman load should be identical to docker load. |
Proposal: let's wait first for Podman v2.1 and then remove the optional arguments and get that into Podman v3.0. Users can always load+tag or use pull to extract a specific image. |
@mtrmac WDYT? |
Note that this is not just the CLI: changes might affect the two
Right now, the CLI load command prints the IDs(?) of loaded images only in a non-trivially-parseable text format. Conceptually, I think it does make sense to offer both
OTOH, considering how broken it’s been (we provide sometimes one, sometimes the other, sometimes a broken version of one or the other, and we don’t document which one it is supposed to be) and how there haven’t been many reports complaining about this, removing the feature and waiting for an actual user motivated to contribute one of those features makes sense. |
@vrothberg What is going on with this issue? |
^ no breaking changes at this point :) |
A friendly reminder that this issue had no activity for 30 days. |
shall we merge? |
We need a PR to merge. But yes we should fix this problem. |
A friendly reminder that this issue had no activity for 30 days. |
Docker does not support this, and it is confusing what to do if the image has more then one tag. We are dropping support for this in podman 3.0 Fixes: containers#7387 Signed-off-by: Daniel J Walsh <[email protected]>
Currently I am trying to build an image using buildkit and use podman load to save the built image. |
podman tag localhost/latest NAME. |
@Aryanrt, which version of Podman do you use? I think it's best to open a new issue but note that recent versions of Podman should support it. |
Thank you for the speedy response. |
|
podman 3.4.4 also same issue |
Please open a new issue with a reproducer. Otherwise, it's impossible to track. |
podman load no longer allows the tagging of the image during a load op: containers/podman#7387 to adjust the script for this, I filter the images to match metal-basecamp, get the image id, and then tag it in a separate command after the image has loaded Signed-off-by: Jacob Salmela <[email protected]>
podman load no longer allows the tagging of the image during a load op: containers/podman#7387 to adjust the script for this, I filter the images to match metal-basecamp, get the image id, and then tag it in a separate command after the image has loaded Signed-off-by: Jacob Salmela <[email protected]> prevent error ``` Apr 25 20:58:20 redbull-ncn-m001-pit systemd[1]: /usr/lib/systemd/system/basecamp.service:14: Unit configured to use KillMode=none. Support for KillMode=none is deprecated and will be eventually removed in future SLE versions. Please see SUSE TID https://www.suse.com/support/kb/doc/?id=000020394 for more details. ``` by setting the killmode to control-group Signed-off-by: Jacob Salmela <[email protected]>
podman load no longer allows the tagging of the image during a load op: containers/podman#7387 to adjust the script for this, I filter the images to match metal-basecamp, get the image id, and then tag it in a separate command after the image has loaded Signed-off-by: Jacob Salmela <[email protected]> prevent error ``` Apr 25 20:58:20 redbull-ncn-m001-pit systemd[1]: /usr/lib/systemd/system/basecamp.service:14: Unit configured to use KillMode=none. Support for KillMode=none is deprecated and will be eventually removed in future SLE versions. Please see SUSE TID https://www.suse.com/support/kb/doc/?id=000020394 for more details. ``` by setting the killmode to control-group Signed-off-by: Jacob Salmela <[email protected]>
podman load no longer allows the tagging of the image during a load op: containers/podman#7387 to adjust the script for this, I filter the images to match metal-basecamp, get the image id, and then tag it in a separate command after the image has loaded Signed-off-by: Jacob Salmela <[email protected]> prevent error ``` Apr 25 20:58:20 redbull-ncn-m001-pit systemd[1]: /usr/lib/systemd/system/basecamp.service:14: Unit configured to use KillMode=none. Support for KillMode=none is deprecated and will be eventually removed in future SLE versions. Please see SUSE TID https://www.suse.com/support/kb/doc/?id=000020394 for more details. ``` by setting the killmode to control-group Signed-off-by: Jacob Salmela <[email protected]>
podman load no longer allows the tagging of the image during a load op: containers/podman#7387 to adjust the script for this, I filter the images to match metal-basecamp, get the image id, and then tag it in a separate command after the image has loaded Signed-off-by: Jacob Salmela <[email protected]> prevent error ``` Apr 25 20:58:20 redbull-ncn-m001-pit systemd[1]: /usr/lib/systemd/system/basecamp.service:14: Unit configured to use KillMode=none. Support for KillMode=none is deprecated and will be eventually removed in future SLE versions. Please see SUSE TID https://www.suse.com/support/kb/doc/?id=000020394 for more details. ``` by setting the killmode to control-group Signed-off-by: Jacob Salmela <[email protected]>
podman load no longer allows the tagging of the image during a load op: containers/podman#7387 to adjust the script for this, I filter the images to match metal-basecamp, get the image id, and then tag it in a separate command after the image has loaded Signed-off-by: Jacob Salmela <[email protected]> prevent error ``` Apr 25 20:58:20 redbull-ncn-m001-pit systemd[1]: /usr/lib/systemd/system/basecamp.service:14: Unit configured to use KillMode=none. Support for KillMode=none is deprecated and will be eventually removed in future SLE versions. Please see SUSE TID https://www.suse.com/support/kb/doc/?id=000020394 for more details. ``` by setting the killmode to control-group Signed-off-by: Jacob Salmela <[email protected]>
The optional
name:tag
forpodman load
is treated differently among the formats.docker-archive
will apply it as tag to the loaded image whileoci-archive
seems to try to extract it from the image. Let's try to find a way to untangle the hairy ball and get it consistent (or clearly document the different behaviours).The man pages need to be more explicit:
Background discussion: https://github.com/containers/podman/pull/6811/files#r472198035
The text was updated successfully, but these errors were encountered: