stasatdaglabs 089cee0e1d [NOD-352] Create a Dockerfile for APIServer (#428)
* [NOD-352] Created a Dockerfile for APIServer.

* [NOD-352] Removed unnecessary testing stuff from the APIServer and DNSSeeder Dockerfiles.
2019-10-13 14:07:44 +03:00
..
2019-04-21 15:05:03 +03:00

1. To build docker image invoke following command from btcd root directory:
    docker build -t txgen -f ./cmd/txgen/docker/Dockerfile .

2. To run:
    a. create folder ~/.btcd/txgen with the following files:
        rpc.cert - certificate file that all rpc nodes accept
        addresses - list of node addresses in the format [hostname]:[port]. One node per line
    b. run:
         docker run -v ~/.btcd:/root/.btcd -t txgen