Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

How to build iroha using docker

Clone iroha.git on your directory.

git clone https://github.com/hyperledger/iroha.git
cd iroha

Build depends on the environment variable IROHA_HOME so you need to set it:

export IROHA_HOME=$(pwd)

Build on docker container for develop environment hyperledger/iroha-dev so you need to build it:

cd docker/dev
docker build -t hyperledger/iroha-dev .

Run build script and wait for completion.

${IROHA_HOME}/docker/build_in_docker.sh

Docker image with tag hyperledger/iroha-docker:latest will be built.

How to run

docker run -d --name=iroha -p 50051:50051 hyperledger/iroha-docker:latest

Troubleshooting

To successfully build docker image, you should be able to build it locally: follow this guilde in case of troubles.