{"action":"closed","issue":{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/105","labels_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/105/comments","events_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/105/events","html_url":"https://github.com/jenkinsci/docker-plugin/issues/105","id":45981918,"number":105,"title":"Default command is /usr/sbin/sshd -D","user":{"login":"bartmeuris","id":2588174,"avatar_url":"https://avatars.githubusercontent.com/u/2588174?v=3","gravatar_id":"","url":"https://api.github.com/users/bartmeuris","html_url":"https://github.com/bartmeuris","followers_url":"https://api.github.com/users/bartmeuris/followers","following_url":"https://api.github.com/users/bartmeuris/following{/other_user}","gists_url":"https://api.github.com/users/bartmeuris/gists{/gist_id}","starred_url":"https://api.github.com/users/bartmeuris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartmeuris/subscriptions","organizations_url":"https://api.github.com/users/bartmeuris/orgs","repos_url":"https://api.github.com/users/bartmeuris/repos","events_url":"https://api.github.com/users/bartmeuris/events{/privacy}","received_events_url":"https://api.github.com/users/bartmeuris/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-16T12:54:00Z","updated_at":"2015-07-17T18:12:11Z","closed_at":"2015-07-17T18:12:11Z","body":"When starting a container and the command is empty, \"/usr/sbin/sshd -D\" is automatically added as CMD. However, my containers already use \"/usr/sbin/sshd -D\"  as ENTRYPOINT - which makes sshd quit because it receives an unknown parameter \"/usr/sbin/sshd\".\r\n\r\nENTRYPOINTS and CMD's in docker work as following: ENTRYPOINT and CMD are appended when launching a container. CMD can be overridden on commandline by simply providing parameters. ENTRYPOINT can be overriddden with the --entrypoint cmdline flag.\r\n\r\n*Using version 0.8 of the plugin"}}