{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-docs/issues/1533","repository_url":"https://api.github.com/repos/openshift/openshift-docs","labels_url":"https://api.github.com/repos/openshift/openshift-docs/issues/1533/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/issues/1533/comments","events_url":"https://api.github.com/repos/openshift/openshift-docs/issues/1533/events","html_url":"https://github.com/openshift/openshift-docs/issues/1533","id":130891268,"number":1533,"title":"Don't use nginx image for the Pod example","user":{"login":"nak3","id":2138339,"avatar_url":"https://avatars2.githubusercontent.com/u/2138339?v=4","gravatar_id":"","url":"https://api.github.com/users/nak3","html_url":"https://github.com/nak3","followers_url":"https://api.github.com/users/nak3/followers","following_url":"https://api.github.com/users/nak3/following{/other_user}","gists_url":"https://api.github.com/users/nak3/gists{/gist_id}","starred_url":"https://api.github.com/users/nak3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nak3/subscriptions","organizations_url":"https://api.github.com/users/nak3/orgs","repos_url":"https://api.github.com/users/nak3/repos","events_url":"https://api.github.com/users/nak3/events{/privacy}","received_events_url":"https://api.github.com/users/nak3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mburke5678","id":25209155,"avatar_url":"https://avatars0.githubusercontent.com/u/25209155?v=4","gravatar_id":"","url":"https://api.github.com/users/mburke5678","html_url":"https://github.com/mburke5678","followers_url":"https://api.github.com/users/mburke5678/followers","following_url":"https://api.github.com/users/mburke5678/following{/other_user}","gists_url":"https://api.github.com/users/mburke5678/gists{/gist_id}","starred_url":"https://api.github.com/users/mburke5678/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mburke5678/subscriptions","organizations_url":"https://api.github.com/users/mburke5678/orgs","repos_url":"https://api.github.com/users/mburke5678/repos","events_url":"https://api.github.com/users/mburke5678/events{/privacy}","received_events_url":"https://api.github.com/users/mburke5678/received_events","type":"User","site_admin":false},"assignees":[{"login":"mburke5678","id":25209155,"avatar_url":"https://avatars0.githubusercontent.com/u/25209155?v=4","gravatar_id":"","url":"https://api.github.com/users/mburke5678","html_url":"https://github.com/mburke5678","followers_url":"https://api.github.com/users/mburke5678/followers","following_url":"https://api.github.com/users/mburke5678/following{/other_user}","gists_url":"https://api.github.com/users/mburke5678/gists{/gist_id}","starred_url":"https://api.github.com/users/mburke5678/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mburke5678/subscriptions","organizations_url":"https://api.github.com/users/mburke5678/orgs","repos_url":"https://api.github.com/users/mburke5678/repos","events_url":"https://api.github.com/users/mburke5678/events{/privacy}","received_events_url":"https://api.github.com/users/mburke5678/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-02-03T02:34:40Z","updated_at":"2018-05-19T17:38:35Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"https://docs.openshift.com/enterprise/3.1/dev_guide/persistent_volumes.html#claims-as-volumes-in-pods\n\nOpenShift example uses `nginx` image for the pod:\n\n```\n      image: \"nginx\"\n```\n\nHowever, ngingx image needs `super-user privileges` and we can't deploy without [configuration of RunAsAny](https://docs.openshift.org/latest/admin_guide/manage_scc.html#enable-images-to-run-with-user-in-the-dockerfile).\n\nHere is the log outpu of `nginx` image after deploy.\n\n```\n$ oc logs -f mypod\nnginx: [alert] could not open error log file: open() \"/var/log/nginx/error.log\" failed (13: Permission denied)\n2016/01/08 08:04:11 [warn] 1#1: the \"user\" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2\n2016/01/08 08:04:11 [emerg] 1#1: mkdir() \"/var/cache/nginx/client_temp\" failed (13: Permission denied)\n```\n"},"comment":{"url":"https://api.github.com/repos/openshift/openshift-docs/issues/comments/390420846","html_url":"https://github.com/openshift/openshift-docs/issues/1533#issuecomment-390420846","issue_url":"https://api.github.com/repos/openshift/openshift-docs/issues/1533","id":390420846,"user":{"login":"viper0131","id":5785959,"avatar_url":"https://avatars1.githubusercontent.com/u/5785959?v=4","gravatar_id":"","url":"https://api.github.com/users/viper0131","html_url":"https://github.com/viper0131","followers_url":"https://api.github.com/users/viper0131/followers","following_url":"https://api.github.com/users/viper0131/following{/other_user}","gists_url":"https://api.github.com/users/viper0131/gists{/gist_id}","starred_url":"https://api.github.com/users/viper0131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viper0131/subscriptions","organizations_url":"https://api.github.com/users/viper0131/orgs","repos_url":"https://api.github.com/users/viper0131/repos","events_url":"https://api.github.com/users/viper0131/events{/privacy}","received_events_url":"https://api.github.com/users/viper0131/received_events","type":"User","site_admin":false},"created_at":"2018-05-19T17:38:35Z","updated_at":"2018-05-19T17:38:35Z","author_association":"NONE","body":"What is the current status of this? I ran into the same example errors.\r\n\r\nWhat is the best alternative to use instead of nginx?"}}
{"actor":{"display_login":"viper0131"}}