{"action":"opened","issue":{"url":"https://api.github.com/repos/projectatomic/libpod/issues/550","repository_url":"https://api.github.com/repos/projectatomic/libpod","labels_url":"https://api.github.com/repos/projectatomic/libpod/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/libpod/issues/550/comments","events_url":"https://api.github.com/repos/projectatomic/libpod/issues/550/events","html_url":"https://github.com/projectatomic/libpod/issues/550","id":308702132,"number":550,"title":"RFE: support passing through existing env var using `-e` for `exec` command","user":{"login":"jlebon","id":11934099,"avatar_url":"https://avatars3.githubusercontent.com/u/11934099?v=4","gravatar_id":"","url":"https://api.github.com/users/jlebon","html_url":"https://github.com/jlebon","followers_url":"https://api.github.com/users/jlebon/followers","following_url":"https://api.github.com/users/jlebon/following{/other_user}","gists_url":"https://api.github.com/users/jlebon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlebon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlebon/subscriptions","organizations_url":"https://api.github.com/users/jlebon/orgs","repos_url":"https://api.github.com/users/jlebon/repos","events_url":"https://api.github.com/users/jlebon/events{/privacy}","received_events_url":"https://api.github.com/users/jlebon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-26T19:21:29Z","updated_at":"2018-03-26T19:21:29Z","closed_at":null,"author_association":"MEMBER","body":"`podman run` supports simply doing `-e FOO` to pass through whatever the current value of `FOO` is. It looks like that's not the case for `exec`:\r\n\r\n```\r\n$ sudo podman exec -t --env TERM pet /bin/bash\r\nexec failed: container_linux.go:348: starting container process caused \"invalid environment 'TERM'\"\r\nexit status 1\r\n```\r\n\r\nAs expected `-e TERM=$TERM` does work."}}
{"actor":{"display_login":"jlebon"}}