orion-server icon indicating copy to clipboard operation
orion-server copied to clipboard

docker run of the image is not working

Open akshaykumar-vijapur opened this issue 3 years ago • 0 comments

Hi,

I am following this document - http://labs.hyperledger.org/orion-server/docs/getting-started/launching-one-node/docker#3-start-orion-in-a-docker-container

Tried to run the docker image on my local machine

docker run -it --rm -v $(pwd)/deployment/crypto/:/etc/orion-server/crypto -p 6001:6001 \
>     -p 7050:7050 orionbcdb/orion-server
Unable to find image 'orionbcdb/orion-server:latest' locally
latest: Pulling from orionbcdb/orion-server
6097bfa160c1: Pull complete 
5421ce750a1d: Pull complete 
6c7ba6df868c: Pull complete 
8865833e5b91: Pull complete 
167919bb6a58: Pull complete 
0f3b30f8955b: Pull complete 
5ee2b45fa7ec: Pull complete 
c3cb24e1683e: Pull complete 
Digest: sha256:fa1c1aed4cfc8b9d5e32aff4b939fa92321a7174cdd5d4ea701ff8d5943c6403
Status: Downloaded newer image for orionbcdb/orion-server:latest
2022-05-20 13:04:52.215997 I | Starting a blockchain database
Error: error while creating the database object: can't load private key: open /etc/orion-server/crypto/server/server.key: no such file or directory

I did not find any pre-requisite that needs to be done before executing the command.

akshaykumar-vijapur avatar May 20 '22 13:05 akshaykumar-vijapur