stratisproject / StratisBitcoinFullNode

Bitcoin full node in C#
https://stratisplatform.com
MIT License
783 stars 315 forks source link

Docker - Unable to run the StratisD Testnet #4181

Closed ranjancse26 closed 4 years ago

ranjancse26 commented 4 years ago

I am unable to run the StratisD Testnet on Docket. Here's what I see.

image

FROM microsoft/dotnet:2.1-sdk

RUN git clone https://github.com/stratisproject/StratisBitcoinFullNode.git \ && cd /StratisBitcoinFullNode/src/Stratis.StratisD \ && dotnet build

VOLUME /root/.stratisbitcoin

WORKDIR /StratisBitcoinFullNode/src/Stratis.StratisD

COPY stratis.conf.docker /root/.stratisnode/stratis/StratisTest/stratis.conf

EXPOSE 18444 18442 26174 26178 38221

CMD ["dotnet", "run", "-testnet"]

StratisIain commented 4 years ago

Hi @ranjancse26 - Judging from the above screen-print the node is syncing. The line you have highlighted is the node attempting to connect to itself over localhost.

Below you can see that you are indeed connected to a node (82.146153.146) and your performing IBD.

I would also recommend that you utilise the latest release branch for syncing one of the public chains.

ranjancse26 commented 4 years ago

Sounds good. I will go with your instructions.