{"action":"created","issue":{"url":"https://api.github.com/repos/HariSekhon/Dockerfiles/issues/5","repository_url":"https://api.github.com/repos/HariSekhon/Dockerfiles","labels_url":"https://api.github.com/repos/HariSekhon/Dockerfiles/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/HariSekhon/Dockerfiles/issues/5/comments","events_url":"https://api.github.com/repos/HariSekhon/Dockerfiles/issues/5/events","html_url":"https://github.com/HariSekhon/Dockerfiles/issues/5","id":197819801,"number":5,"title":"Error while running apache drill with external zookeeper","user":{"login":"anshbansal","id":4127841,"avatar_url":"https://avatars.githubusercontent.com/u/4127841?v=3","gravatar_id":"","url":"https://api.github.com/users/anshbansal","html_url":"https://github.com/anshbansal","followers_url":"https://api.github.com/users/anshbansal/followers","following_url":"https://api.github.com/users/anshbansal/following{/other_user}","gists_url":"https://api.github.com/users/anshbansal/gists{/gist_id}","starred_url":"https://api.github.com/users/anshbansal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshbansal/subscriptions","organizations_url":"https://api.github.com/users/anshbansal/orgs","repos_url":"https://api.github.com/users/anshbansal/repos","events_url":"https://api.github.com/users/anshbansal/events{/privacy}","received_events_url":"https://api.github.com/users/anshbansal/received_events","type":"User","site_admin":false},"labels":[{"id":312379304,"url":"https://api.github.com/repos/HariSekhon/Dockerfiles/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-28T09:06:23Z","updated_at":"2016-12-28T14:07:43Z","closed_at":"2016-12-28T12:28:35Z","body":"I am trying to run apache drill image and get this \r\n```\r\ndocker run harisekhon/apache-drill\r\n\r\nRunning non-interactively, will not open Apache Drill shell\r\n\r\nFor Apache Drill shell start this image with 'docker run -t -i' switches\r\n\r\nOtherwise you will need to have a separate ZooKeeper container linked (one is available from harisekhon/zookeeper) and specify:\r\n\r\ndocker run -e ZOOKEEPER_HOST=<host>:2181 supervisord -n\r\n```\r\n\r\nI have a zookeeper already running on my localhost so I try again \r\n\r\n```\r\ndocker run -e ZOOKEEPER_HOST=localhost:2181  supervisord -n harisekhon/apache-drill\r\nUnable to find image 'supervisord:latest' locally\r\nPulling repository docker.io/library/supervisord\r\ndocker: Error: image library/supervisord:latest not found.\r\n```\r\n\r\nI thought maybe the sequence was wrong and I need to specify the image first\r\n\r\n```\r\ndocker run  harisekhon/apache-drill -e ZOOKEEPER_HOST=localhost:2181  supervisord -n\r\ncontainer_linux.go:247: starting container process caused \"exec: \\\"-e\\\": executable file not found in $PATH\"\r\ndocker: Error response from daemon: invalid header field value \"oci runtime error: container_linux.go:247: starting container process caused \\\"exec: \\\\\\\"-e\\\\\\\": executable file not found in $PATH\\\"\\n\".\r\n```\r\n\r\nAny idea what can be done to fix this?"},"comment":{"url":"https://api.github.com/repos/HariSekhon/Dockerfiles/issues/comments/269481578","html_url":"https://github.com/HariSekhon/Dockerfiles/issues/5#issuecomment-269481578","issue_url":"https://api.github.com/repos/HariSekhon/Dockerfiles/issues/5","id":269481578,"user":{"login":"anshbansal","id":4127841,"avatar_url":"https://avatars.githubusercontent.com/u/4127841?v=3","gravatar_id":"","url":"https://api.github.com/users/anshbansal","html_url":"https://github.com/anshbansal","followers_url":"https://api.github.com/users/anshbansal/followers","following_url":"https://api.github.com/users/anshbansal/following{/other_user}","gists_url":"https://api.github.com/users/anshbansal/gists{/gist_id}","starred_url":"https://api.github.com/users/anshbansal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshbansal/subscriptions","organizations_url":"https://api.github.com/users/anshbansal/orgs","repos_url":"https://api.github.com/users/anshbansal/repos","events_url":"https://api.github.com/users/anshbansal/events{/privacy}","received_events_url":"https://api.github.com/users/anshbansal/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T14:07:43Z","updated_at":"2016-12-28T14:07:43Z","body":"@HariSekhon Are you referring to https://github.com/HariSekhon/Dockerfiles/blob/master/apache-drill/Makefile#L40?  \r\n\r\n`\r\nFor external ZooKeeper you need to link the container running Zookeeper, not something running on the host itself, best off seeing the official Docker docs linking section.\r\n`\r\nCan you share why container is necessary? We already have a zookeeper cluster. Any examples of using with container? "}}
{"actor":{"display_login":"anshbansal"}}