Skip to content

Install

Website | Twitter | Discord | Explorer

Install docker

curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh

Create a directory

mkdir elixir
cd elixir

Download the Dockerfile

curl -O https://files.elixir.finance/Dockerfile

Edit Dockerfile

nano Dockerfile

Build the Docker image

docker build . -f Dockerfile -t elixir-validator

Start your validator

docker run -d --restart unless-stopped --name ev elixir-validator

Check the logs

docker logs -f ev

Getting the latest version

cd elixir
docker kill ev
docker rm ev
docker pull elixirprotocol/validator:testnet-2
docker build . -f Dockerfile -t elixir-validator

And rerun the docker command to start the validator:

docker run -d --restart unless-stopped --name ev elixir-validator

Check the logs

docker logs -f ev