Skip to main content
Version: Next

Updating Juno 🔄

It is important to run the latest version of Juno as each update brings new features, security patches, and improvements over previous versions. Follow these steps to update Juno:

info

When running an updated node, use the same db-path as before to avoid restarting the sync and use the already synced database.

Docker container​

1. Get the latest Docker image​

Download the latest Juno Docker image from the nethermind/juno repository:

docker pull nethermind/juno:latest

2. Stop and remove the current Juno container​

Stop the currently running Juno container. If you're unsure of the container name, use docker ps to view all running containers:

docker stop juno

Remove the old container to prevent any conflicts with the new version:

docker rm juno

3. Start a new container with the updated image​

Run a new container using the updated Docker image:

# Prepare the snapshots directory
mkdir -p $HOME/snapshots

# Run the container
docker run -d \
--name juno \
-p 6060:6060 \
-v $HOME/snapshots/juno_mainnet:/snapshots/juno_mainnet \
nethermind/juno \
--http \
--http-port 6060 \
--http-host 0.0.0.0 \
--db-path /snapshots/juno_mainnet

Verify that the node is running correctly with the updated version:

docker logs juno

Standalone binary​

Download the latest binary from the Juno GitHub Releases page and replace the existing one.

Updating from source​

# Pull the latest updates to the codebase
git pull

# Rebuild the binary
make juno

# OR

# Rebuild the Docker image
docker build -t nethermind/juno:latest .
tip

To learn how to configure Juno, check out the Configuring Juno guide.