{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/libpod/issues/489","repository_url":"https://api.github.com/repos/projectatomic/libpod","labels_url":"https://api.github.com/repos/projectatomic/libpod/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/libpod/issues/489/comments","events_url":"https://api.github.com/repos/projectatomic/libpod/issues/489/events","html_url":"https://github.com/projectatomic/libpod/issues/489","id":305276134,"number":489,"title":"podman save: cannot handle colons in output filename","user":{"login":"edsantiago","id":265639,"avatar_url":"https://avatars1.githubusercontent.com/u/265639?v=4","gravatar_id":"","url":"https://api.github.com/users/edsantiago","html_url":"https://github.com/edsantiago","followers_url":"https://api.github.com/users/edsantiago/followers","following_url":"https://api.github.com/users/edsantiago/following{/other_user}","gists_url":"https://api.github.com/users/edsantiago/gists{/gist_id}","starred_url":"https://api.github.com/users/edsantiago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edsantiago/subscriptions","organizations_url":"https://api.github.com/users/edsantiago/orgs","repos_url":"https://api.github.com/users/edsantiago/repos","events_url":"https://api.github.com/users/edsantiago/events{/privacy}","received_events_url":"https://api.github.com/users/edsantiago/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"umohnani8","id":29377163,"avatar_url":"https://avatars0.githubusercontent.com/u/29377163?v=4","gravatar_id":"","url":"https://api.github.com/users/umohnani8","html_url":"https://github.com/umohnani8","followers_url":"https://api.github.com/users/umohnani8/followers","following_url":"https://api.github.com/users/umohnani8/following{/other_user}","gists_url":"https://api.github.com/users/umohnani8/gists{/gist_id}","starred_url":"https://api.github.com/users/umohnani8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umohnani8/subscriptions","organizations_url":"https://api.github.com/users/umohnani8/orgs","repos_url":"https://api.github.com/users/umohnani8/repos","events_url":"https://api.github.com/users/umohnani8/events{/privacy}","received_events_url":"https://api.github.com/users/umohnani8/received_events","type":"User","site_admin":false},"assignees":[{"login":"umohnani8","id":29377163,"avatar_url":"https://avatars0.githubusercontent.com/u/29377163?v=4","gravatar_id":"","url":"https://api.github.com/users/umohnani8","html_url":"https://github.com/umohnani8","followers_url":"https://api.github.com/users/umohnani8/followers","following_url":"https://api.github.com/users/umohnani8/following{/other_user}","gists_url":"https://api.github.com/users/umohnani8/gists{/gist_id}","starred_url":"https://api.github.com/users/umohnani8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umohnani8/subscriptions","organizations_url":"https://api.github.com/users/umohnani8/orgs","repos_url":"https://api.github.com/users/umohnani8/repos","events_url":"https://api.github.com/users/umohnani8/events{/privacy}","received_events_url":"https://api.github.com/users/umohnani8/received_events","type":"User","site_admin":false}],"milestone":null,"comments":24,"created_at":"2018-03-14T18:22:32Z","updated_at":"2018-04-27T17:50:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"If the `--output` path includes a colon, `podman save` fails with an unhelpful diagnostic:\r\n\r\n    # podman save --output /tmp/a:b docker.io/fedora:latest\r\n    ERRO[0000] error deleting \"/tmp/a:b\": error getting destination imageReference for \"docker-archive:/tmp/a:b:docker.io/fedora:latest\": invalid reference format \r\n    unable to save \"docker.io/fedora:latest\": error getting destination imageReference for \"docker-archive:/tmp/a:b:docker.io/fedora:latest\": invalid reference format\r\n\r\nPossible hint: if the left-hand side of the colon includes any capital letter, the diagnostic is:\r\n\r\n    # podman save --output /tmp/A:b docker.io/fedora:latest\r\n    ERRO[0000] error deleting \"/tmp/A:b\": error getting destination imageReference for \"docker-archive:/tmp/A:b:docker.io/fedora:latest\": invalid reference format: repository name must be lowercase \r\n    unable to save \"docker.io/fedora:latest\": error getting destination imageReference for \"docker-archive:/tmp/A:b:docker.io/fedora:latest\": invalid reference format: repository name must be lowercase\r\n\r\nColons are vaild path components; a real-world example in which one might want colons is using the output of `podman images` (sha256:xxxxx) to generate a filename."},"comment":{"url":"https://api.github.com/repos/projectatomic/libpod/issues/comments/385045163","html_url":"https://github.com/projectatomic/libpod/issues/489#issuecomment-385045163","issue_url":"https://api.github.com/repos/projectatomic/libpod/issues/489","id":385045163,"user":{"login":"umohnani8","id":29377163,"avatar_url":"https://avatars0.githubusercontent.com/u/29377163?v=4","gravatar_id":"","url":"https://api.github.com/users/umohnani8","html_url":"https://github.com/umohnani8","followers_url":"https://api.github.com/users/umohnani8/followers","following_url":"https://api.github.com/users/umohnani8/following{/other_user}","gists_url":"https://api.github.com/users/umohnani8/gists{/gist_id}","starred_url":"https://api.github.com/users/umohnani8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umohnani8/subscriptions","organizations_url":"https://api.github.com/users/umohnani8/orgs","repos_url":"https://api.github.com/users/umohnani8/repos","events_url":"https://api.github.com/users/umohnani8/events{/privacy}","received_events_url":"https://api.github.com/users/umohnani8/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T17:50:03Z","updated_at":"2018-04-27T17:50:03Z","author_association":"COLLABORATOR","body":"@mheon thanks for the info! Working on it."}}
{"actor":{"display_login":"umohnani8"}}