Update to new Docker version for Validator

Validator Docker has two operating modes:

  1. Interactive mode (e.g., for creating a new account)

  2. Long-running mode (for continuous background operation)

Both modes use the same Docker image. After updating the Docker image, use the appropriate commands to restart each mode.

Interactive Mode

To upgrade to the latest exSat Docker version and perform interactive operations (assuming the container is named "commander"), run the following:

docker pull exsatnetwork/exsat-client:latest
docker stop commander
docker rm commander
docker run -it --name commander -v $HOME/.exsat/:/app/.exsat -e CLIENT_TYPE=commander exsatnetwork/exsat-client:latest

Long-Running Mode

For continuous operation (assuming the container is named "validator"), use these commands to update Docker:

docker pull exsatnetwork/exsat-client:latest
docker stop validator
docker rm validator
docker run -d --restart always --name validator -v $HOME/.exsat/:/app/.exsat -e CLIENT_TYPE=validator exsatnetwork/exsat-client:latest

Last updated