Advertisement
Guest User

Docker2

a guest
Nov 17th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. C:\Users\Admin\Documents\Programming\DSXT\docker-bitcoid>docker build -t bitcoind-test .
  2. Sending build context to Docker daemon 6.656kB
  3. Step 1/15 : FROM ubuntu:16.04
  4. ---> 5f2bf26e3524
  5. Step 2/15 : RUN apt-get update
  6. ---> Using cache
  7. ---> 0ce13b0dd195
  8. Step 3/15 : RUN apt-get install --yes software-properties-common
  9. ---> Using cache
  10. ---> 6bd8f9ac5eb1
  11. Step 4/15 : RUN add-apt-repository --yes ppa:bitcoin/bitcoin
  12. ---> Using cache
  13. ---> fe7836a7ab06
  14. Step 5/15 : RUN apt-get update
  15. ---> Using cache
  16. ---> bb429c48e3b4
  17. Step 6/15 : RUN apt-get install --yes bitcoind
  18. ---> Using cache
  19. ---> 2b6da9834441
  20. Step 7/15 : ADD . /home/bitcoind-testnet
  21. ---> Using cache
  22. ---> bd96006ffe46
  23. Step 8/15 : ENV alice_dir=/home/bitcoind-testnet/nodes/alice
  24. ---> Using cache
  25. ---> 25c1f7253ece
  26. Step 9/15 : ENV bob_dir=/home/bitcoind-testnet/nodes/alice
  27. ---> Using cache
  28. ---> 901054666907
  29. Step 10/15 : EXPOSE 18443
  30. ---> Using cache
  31. ---> ea96d101d739
  32. Step 11/15 : RUN bitcoind -datadir=$alice_dir -deprecatedrpc=generate &
  33. ---> Using cache
  34. ---> 42da1805af25
  35. Step 12/15 : EXPOSE 18444
  36. ---> Using cache
  37. ---> 38434bef0c8f
  38. Step 13/15 : RUN bitcoind -datadir=$bob_dir -deprecatedrpc=generate &
  39. ---> Using cache
  40. ---> 51f5ca216f1c
  41. Step 14/15 : RUN bitcoin-cli -datadir=$alice_dir getbalance
  42. ---> Running in 933a257562fa
  43. error: Could not connect to the server 127.0.0.1:18443
  44.  
  45. Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
  46. 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