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

Client Docker command fails #1

Open
kevvdp opened this issue Nov 5, 2019 · 0 comments
Open

Client Docker command fails #1

kevvdp opened this issue Nov 5, 2019 · 0 comments

Comments

@kevvdp
Copy link

kevvdp commented Nov 5, 2019

Hi!

I'm trying to get the docker containers set up and running before hitting the helm command. Everything's working smoothly until I get to the client command which gives me an OCI runtime error:

➜  docker git:(master) ✗ docker run --rm -it \
    --name client \
    --hostname client \
    --network indy \
    --ip 10.0.1.100 \
    -v $(pwd)/build/client:/home/indy/.indy \
    --entrypoint indy \
    local/indy
docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: \"indy\": executable file not found in $PATH": unknown.

When I change the entry point to the one in the Dockerfile, ENTRYPOINT ["/home/indy/start"], I get the following error and don't know how to provide a seed.

➜  docker git:(master) ✗ docker run --rm -it \
    --name client \
    --hostname client \
    --network indy \
    --ip 10.0.1.100 \
    -v $(pwd)/build/client:/home/indy/.indy \
    --entrypoint /home/indy/start \ .                        # changed entrypoint to same as dockerfile
    local/indy
usage: init_indy_keys [-h] --name NAME [--seed SEED] [--force]
init_indy_keys: error: argument --seed: expected one argument
Traceback (most recent call last):
  File "/usr/local/bin/start_indy_node", line 12, in <module>
    raise Exception("Provide name and two pairs of IP/port for running the node "
Exception: Provide name and two pairs of IP/port for running the node and client stacks in form 'node_name node_ip node_port client_ip client_port'

I know the repo's been cold for 2 years but any help on this would be greatly appreciated. Thanks!

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

1 participant