Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Admin\Documents\Programming\DSXT\docker-bitcoid>docker build -t bitcoind-test .
- Sending build context to Docker daemon 6.656kB
- Step 1/15 : FROM ubuntu:16.04
- ---> 5f2bf26e3524
- Step 2/15 : RUN apt-get update
- ---> Using cache
- ---> 0ce13b0dd195
- Step 3/15 : RUN apt-get install --yes software-properties-common
- ---> Using cache
- ---> 6bd8f9ac5eb1
- Step 4/15 : RUN add-apt-repository --yes ppa:bitcoin/bitcoin
- ---> Using cache
- ---> fe7836a7ab06
- Step 5/15 : RUN apt-get update
- ---> Using cache
- ---> bb429c48e3b4
- Step 6/15 : RUN apt-get install --yes bitcoind
- ---> Using cache
- ---> 2b6da9834441
- Step 7/15 : ADD . /home/bitcoind-testnet
- ---> Using cache
- ---> bd96006ffe46
- Step 8/15 : ENV alice_dir=/home/bitcoind-testnet/nodes/alice
- ---> Using cache
- ---> 25c1f7253ece
- Step 9/15 : ENV bob_dir=/home/bitcoind-testnet/nodes/alice
- ---> Using cache
- ---> 901054666907
- Step 10/15 : EXPOSE 18443
- ---> Using cache
- ---> ea96d101d739
- Step 11/15 : RUN bitcoind -datadir=$alice_dir -deprecatedrpc=generate &
- ---> Using cache
- ---> 42da1805af25
- Step 12/15 : EXPOSE 18444
- ---> Using cache
- ---> 38434bef0c8f
- Step 13/15 : RUN bitcoind -datadir=$bob_dir -deprecatedrpc=generate &
- ---> Using cache
- ---> 51f5ca216f1c
- Step 14/15 : RUN bitcoin-cli -datadir=$alice_dir getbalance
- ---> Running in 933a257562fa
- error: Could not connect to the server 127.0.0.1:18443
- Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
- The command '/bin/sh -c bitcoin-cli -datadir=$alice_dir getbalance' returned a non-zero code: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement