{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/source-to-image/issues/496","repository_url":"https://api.github.com/repos/openshift/source-to-image","labels_url":"https://api.github.com/repos/openshift/source-to-image/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/openshift/source-to-image/issues/496/comments","events_url":"https://api.github.com/repos/openshift/source-to-image/issues/496/events","html_url":"https://github.com/openshift/source-to-image/pull/496","id":154934597,"number":496,"title":"Name containers created by s2i explicitly","user":{"login":"rhcarvalho","id":88819,"avatar_url":"https://avatars.githubusercontent.com/u/88819?v=3","gravatar_id":"","url":"https://api.github.com/users/rhcarvalho","html_url":"https://github.com/rhcarvalho","followers_url":"https://api.github.com/users/rhcarvalho/followers","following_url":"https://api.github.com/users/rhcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/rhcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/rhcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhcarvalho/subscriptions","organizations_url":"https://api.github.com/users/rhcarvalho/orgs","repos_url":"https://api.github.com/users/rhcarvalho/repos","events_url":"https://api.github.com/users/rhcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/rhcarvalho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-05-15T22:32:56Z","updated_at":"2016-06-27T14:20:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/source-to-image/pulls/496","html_url":"https://github.com/openshift/source-to-image/pull/496","diff_url":"https://github.com/openshift/source-to-image/pull/496.diff","patch_url":"https://github.com/openshift/source-to-image/pull/496.patch"},"body":"Instead of leaving the name blank and letting the Docker daemon name\r\ncontainers with random strings like 'lonely_thompson', we give proper\r\nnames so that we can identify and filter containers created by S2I\r\nlater.\r\n\r\nNames take a fixed prefix, 's2i_', and a random suffix. The builder\r\nimage is also used to compose the container name, replacing with\r\nunderscores characters that would be invalid for a container name.\r\n\r\nExample:\r\n\r\n```console\r\n$ s2i build \\\r\n    git://github.com/openshift/ruby-hello-world \\\r\n    centos/ruby-22-centos7 \\\r\n    hello-world-app\r\n```\r\n\r\nThe above creates a temporary container named\r\n's2i_centos_ruby_22_centos7_397cfecd'.\r\n\r\nNow `RunContainerOptions` contains the field `Name` to allow callers to\r\nexplicitly define a name for the container. That's useful in OpenShift,\r\nwhere we have more context to use for the name of the container\r\n(e.g.: BuildConfig name).\r\n\r\n-----------------------------------------\r\n\r\nFixes #395."},"comment":{"url":"https://api.github.com/repos/openshift/source-to-image/issues/comments/228759434","html_url":"https://github.com/openshift/source-to-image/pull/496#issuecomment-228759434","issue_url":"https://api.github.com/repos/openshift/source-to-image/issues/496","id":228759434,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T14:20:36Z","updated_at":"2016-06-27T14:20:36Z","body":"Evaluated for source to image test up to d003c98db1b5f128f027f9d4d6724a12fecce415"}}
{"actor":{"display_login":"openshift-bot"}}