sequenceiq / docker-kylin

Kylin running in a Docker cluster
http://www.kylin.io/
46 stars 35 forks source link

Cannot run container on Windows #11

Open AndriyKhavro opened 8 years ago

AndriyKhavro commented 8 years ago

I'm following the tutorial from readme to run the container.

When I run kylin-deploy-cluster function, I get the following error:

starting an ambari cluster with: 1 nodes [DEBUG] docker run -P -d --dns 127.0.0.1 --entrypoint /usr/local/serf/bin/start-serf-agent.sh -e KEYCHAIN= --name amb0 -h am b0.mycorp.kom sequenceiq/kylin:0.7.2 --tag ambari-server=true WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers. d014e81cc1ba150b041b9d0a0e0dfe4289ba41c500b5cc2f8345feecf1f03b59 Error response from daemon: Cannot start container d014e81cc1ba150b041b9d0a0e0dfe4289ba41c500b5cc2f8345feecf1f03b59: [8] Sys tem error: exec: "C:/Program Files/Git/usr/local/serf/bin/start-serf-agent.sh": stat C:/Program Files/Git/usr/local/serf/bin /start-serf-agent.sh: no such file or directory docker: "inspect" requires a minimum of 1 argument. See 'C:\Program Files\Docker Toolbox\docker.exe inspect --help'.

Usage: docker inspect [OPTIONS] CONTAINER|IMAGE [CONTAINER|IMAGE...]

Return low-level information on a container or image [DEBUG] docker run -it --rm -e EXPECTED_HOST_COUNT=0 -e BLUEPRINT=hdp-singlenode-kylin --link amb0:ambariserver --entrypoint /bin/sh sequenceiq/kylin:0.7.2 -c /tmp/install-cluster.sh Error response from daemon: Cannot start container 81da05f2c9825b5ae60be126f0e4e40387767cab640287783e7603427c285640: Cannot link to a non running container: /amb0 AS /ecstatic_babbage/ambariserver

After that the container status is Created, but it is not running.

I have Windows 7 OS. Would appreciate any help.

shaofengshi commented 8 years ago

I don't have windows environment and have no plan to debug that; Why don't run it from a Linux or Mac?

2015-12-30 22:37 GMT+08:00 Andrii notifications@github.com:

I'm following the tutorial from readme to run the container

When I run kylin-deploy-cluster function, I get the following error:

starting an ambari cluster with: 1 nodes [DEBUG] docker run -P -d --dns 127001 --entrypoint /usr/local/serf/bin/start-serf-agentsh -e KEYCHAIN= --name amb0 -h am b0mycorpkom sequenceiq/kylin:072 --tag ambari-server=true WARNING: Localhost DNS setting (--dns=127001) may fail in containers d014e81cc1ba150b041b9d0a0e0dfe4289ba41c500b5cc2f8345feecf1f03b59 Error response from daemon: Cannot start container d014e81cc1ba150b041b9d0a0e0dfe4289ba41c500b5cc2f8345feecf1f03b59: [8] Sys tem error: exec: "C:/Program Files/Git/usr/local/serf/bin/start-serf-agentsh": stat C:/Program Files/Git/usr/local/serf/bin /start-serf-agentsh: no such file or directory docker: "inspect" requires a minimum of 1 argument See 'C:\Program Files\Docker Toolbox\dockerexe inspect --help'

Usage: docker inspect [OPTIONS] CONTAINER|IMAGE [CONTAINER|IMAGE]

Return low-level information on a container or image [DEBUG] docker run -it --rm -e EXPECTED_HOST_COUNT=0 -e BLUEPRINT=hdp-singlenode-kylin --link amb0:ambariserver --entrypoint /bin/sh sequenceiq/kylin:072 -c /tmp/install-clustersh Error response from daemon: Cannot start container 81da05f2c9825b5ae60be126f0e4e40387767cab640287783e7603427c285640: Cannot link to a non running container: /amb0 AS /ecstatic_babbage/ambariserver

I have Windows 7 OS Would appreciate any help

— Reply to this email directly or view it on GitHub https://github.com/sequenceiq/docker-kylin/issues/11.

Best regards,

Shaofeng Shi