Skip to main content

Build the Docker Images

  1. Clone or copy the Dockerfiles and any state-sync scripts into a local directory.

  2. Navigate to that directory.

  3. Build your image:

docker build -t <image-tag> -f /path/to/dockerfile .

Example:

docker build -t sentinel:mainnet -f dockerfile_sentinel_main .
  1. Run a container from your newly built image:
docker run -dit --name <container-name> <image-tag>

Example:

docker run -dit --name sentinel_mainnet sentinel:mainnet
  1. Exec into your running container:
docker exec -it <container-name> bash

Example:

docker exec -it sentinel_mainnet bash
  1. State-Sync (once inside the container):
./state-sync.sh
  • This script may have a slightly different name for testnet and cosmovisor variants
  • Run cat nohup to view script output
  1. Change Passwords
chpasswd root
chpasswd sentinel
  1. Transaction Setup
  • Import your node key (e.g., sentinelhub keys add ...).
  • If you are a validator, copy your validator private key JSON into the container (see Mount a Volume section).
  • A TMKMS Docker image is in testing and will be released soon.