Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run container on Windows #11

Open
AndriyKhavro opened this issue Dec 30, 2015 · 1 comment
Open

Cannot run container on Windows #11

AndriyKhavro opened this issue Dec 30, 2015 · 1 comment

Comments

@AndriyKhavro
Copy link

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
Copy link
Contributor

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 [email protected]:

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
#11.

Best regards,

Shaofeng Shi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants