[EOSIO/eos] docker restart eosio-dev error (#5245)

The long form of the flag is `—delete-all-blocks` which does exactly as it says: it restarts your chain from scratch. If you’re using docker, change your docker shutdown time limit to 60 seconds. The default limit is too short to allow a graceful shutdown, which corrupts the database. Also be sure to shut down your nodeos docker before restarting your machine, again to prevent an abrupt shutdown that corrupts the database. If you’re not using docker, be sure to terminate nodeos only with `kill -2` or `kill -15`. Never use `kill -9`. `kill` with no signal argument defaults to a signal that is handled gracefully.

Добавить комментарий