You are viewing a single comment's thread from:

RE: Zero to Witness: Part 7: Starting and syncing Steem

Great series, I found it very interesting.

One question, is there a reason why you remove the container in stopsteem.sh and create it again using startsteem.sh? For example, if the wintess is to be stopped for maintenance, wouldn't docker stop witness and then docker start witness be easier?

Sort:  

Thanks! The main reason to do a full teardown in the stop script is in case we change any of the port forwarding etc config for the docker run command.

In that case I don't believe just docker "stop" and "start" are enough to get the new config loaded, so instead of having 2 levels of stop / start ("warm" / "cold") we just simplify and keep a single pair of scripts that always tear down the container.

The time difference between a simple stop and a full teardown is negligible too.

Oh, what a lovely surprise, thank you!

Good day, Please what do luck10 means, I have seen to and O1 use it recently

A way to reward meaningful interaction on the platform to encourage good quality comments, @starrchris.

This is a nice idea, I think I will also join you in this project 🌝, because it's for the growth of
steem Blockchain.

thankss for the reply now I know better.

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 65359.95
ETH 3492.90
USDT 1.00
SBD 2.51