{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/libpod/issues/329","repository_url":"https://api.github.com/repos/projectatomic/libpod","labels_url":"https://api.github.com/repos/projectatomic/libpod/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/libpod/issues/329/comments","events_url":"https://api.github.com/repos/projectatomic/libpod/issues/329/events","html_url":"https://github.com/projectatomic/libpod/issues/329","id":297206770,"number":329,"title":"ENH: return imageid from 'podman pull'","user":{"login":"TomSweeneyRedHat","id":25613829,"avatar_url":"https://avatars3.githubusercontent.com/u/25613829?v=4","gravatar_id":"","url":"https://api.github.com/users/TomSweeneyRedHat","html_url":"https://github.com/TomSweeneyRedHat","followers_url":"https://api.github.com/users/TomSweeneyRedHat/followers","following_url":"https://api.github.com/users/TomSweeneyRedHat/following{/other_user}","gists_url":"https://api.github.com/users/TomSweeneyRedHat/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSweeneyRedHat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSweeneyRedHat/subscriptions","organizations_url":"https://api.github.com/users/TomSweeneyRedHat/orgs","repos_url":"https://api.github.com/users/TomSweeneyRedHat/repos","events_url":"https://api.github.com/users/TomSweeneyRedHat/events{/privacy}","received_events_url":"https://api.github.com/users/TomSweeneyRedHat/received_events","type":"User","site_admin":false},"labels":[{"id":737625785,"url":"https://api.github.com/repos/projectatomic/libpod/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-14T18:55:42Z","updated_at":"2018-02-15T19:46:31Z","closed_at":null,"author_association":"COLLABORATOR","body":" /kind feature\r\n\r\n**Description**\r\nWhen issuing the command \"podman pull fedora\" it would be nice if the last line of the output was the imageid.  If the -q parameter was supplied, then only the imageId would be returned.  This would allow one do something like:\r\n\r\nimageId=$(podman pull -q fedora)\r\npodman run $imageid /bin/bash\r\n\r\nand have the imageid in the variable rather than having to look it up via the ps command.  It would make scripting easier.\r\n\r\n**Steps to reproduce the issue:**\r\n\r\n1.  'podman pull alpine'\r\n\r\n**Describe the results you received:**\r\nThe progress from the pull command was shown as expected, but no imageid was displayed on the last line.\r\n\r\n**Describe the results you expected:**\r\n\r\nNot expected, but wanted, I'd like the imageid to be printed at the end.\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n\r\n**Output of `podman version`:**\r\n\r\n```\r\n# podman version\r\nVersion:       \r\nGo Version:    go1.9.3\r\nOS/Arch:       linux/amd64\r\n\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\nVM running an updated Fedora 27 and the podman test kit."},"comment":{"url":"https://api.github.com/repos/projectatomic/libpod/issues/comments/366040485","html_url":"https://github.com/projectatomic/libpod/issues/329#issuecomment-366040485","issue_url":"https://api.github.com/repos/projectatomic/libpod/issues/329","id":366040485,"user":{"login":"TomSweeneyRedHat","id":25613829,"avatar_url":"https://avatars3.githubusercontent.com/u/25613829?v=4","gravatar_id":"","url":"https://api.github.com/users/TomSweeneyRedHat","html_url":"https://github.com/TomSweeneyRedHat","followers_url":"https://api.github.com/users/TomSweeneyRedHat/followers","following_url":"https://api.github.com/users/TomSweeneyRedHat/following{/other_user}","gists_url":"https://api.github.com/users/TomSweeneyRedHat/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSweeneyRedHat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSweeneyRedHat/subscriptions","organizations_url":"https://api.github.com/users/TomSweeneyRedHat/orgs","repos_url":"https://api.github.com/users/TomSweeneyRedHat/repos","events_url":"https://api.github.com/users/TomSweeneyRedHat/events{/privacy}","received_events_url":"https://api.github.com/users/TomSweeneyRedHat/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T19:46:31Z","updated_at":"2018-02-15T19:46:31Z","author_association":"COLLABORATOR","body":"Will do, want to give it a quick spin first and haven't gotten there yet."}}
{"actor":{"display_login":"TomSweeneyRedHat"}}