Skip to content

Client Docker command fails #1

@kevvdp

Description

@kevvdp

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!

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