Skip to content

Cannot run container on Windows #11

@AndriyKhavro

Description

@AndriyKhavro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions