podman: `podman load ... [name:tag]` inconsistencies

The optional name:tag for podman load is treated differently among the formats. docker-archive will apply it as tag to the loaded image while oci-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:

You can also specify a name for the image if the archive does not contain a named reference, of if you want an additional name for the local image.

Background discussion: https://github.com/containers/podman/pull/6811/files#r472198035

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (11 by maintainers)

Commits related to this issue

Most upvoted comments

podman tag localhost/latest NAME.