{"action":"closed","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8235","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8235/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8235/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8235/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/8235","id":76216663,"number":8235,"title":"\"command\" sets Entrypoint rather than Command?","user":{"login":"larsks","id":82622,"avatar_url":"https://avatars.githubusercontent.com/u/82622?v=3","gravatar_id":"","url":"https://api.github.com/users/larsks","html_url":"https://github.com/larsks","followers_url":"https://api.github.com/users/larsks/followers","following_url":"https://api.github.com/users/larsks/following{/other_user}","gists_url":"https://api.github.com/users/larsks/gists{/gist_id}","starred_url":"https://api.github.com/users/larsks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsks/subscriptions","organizations_url":"https://api.github.com/users/larsks/orgs","repos_url":"https://api.github.com/users/larsks/repos","events_url":"https://api.github.com/users/larsks/events{/privacy}","received_events_url":"https://api.github.com/users/larsks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/area/cluster-api","name":"area/cluster-api","color":"e1ed21"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/priority/P3","name":"priority/P3","color":"fef2c0"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/team/UX","name":"team/UX","color":"d2b48c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-14T03:38:22Z","updated_at":"2015-06-10T01:42:59Z","closed_at":"2015-06-10T01:42:59Z","body":"I am running Kubernetes kubernetes-0.15.0 (git 0ea87e4) on RHEL 7.\r\n\r\nI have a Dockerfile that contains:\r\n\r\n    ENTRYPOINT [\"/usr/bin/stress\"]\r\n\r\nI would normally call it, for example, like this:\r\n\r\n     docker run larsks/stress --cpu 1\r\n\r\nI have a replicationController that contains:\r\n\r\n          containers:\r\n            - name: stress\r\n              image: larsks/stress\r\n              command: [\"--cpu\", \"1\"]\r\n\r\nThe resulting containers fail to start.  When I inspect the\r\ncontainers, I see:\r\n\r\n    \"Config\": {\r\n        \"Entrypoint\": [\r\n            \"--cpu\",\r\n            \"1\"\r\n        ],\r\n\r\nThat's wrong.  The `command:` key should be setting the `Command`\r\nfield of the container, otherwise a variety of images that are\r\ndesigned with a custom entrypoint will fail to run.\r\n"}}