juno icon indicating copy to clipboard operation
juno copied to clipboard

Add Update Instructions for Juno Node in README

Open mettete opened this issue 1 year ago • 0 comments

Description

Currently, the README for the Juno Node setup provides comprehensive details on installation and running the node using Docker. However, it lacks instructions for updating the Juno Node. This is a crucial step for users to keep their nodes up-to-date with the latest changes and improvements.

Proposed Change

I propose adding a new section to the README titled "Updating Juno Node". This section would guide users through the steps needed to update their Juno Node using Docker. The process involves stopping the old container, removing it, and running a new container with the latest Docker image.

Suggested Steps for Update

  1. Stopping the Old Juno Node: Users need to stop the currently running Juno container. This can be done using the command:

    docker stop juno
    
  2. Removing the Old Container: After stopping the container, it should be removed. This ensures that the new container can be started without naming conflicts. The command for this step is:

    docker rm juno
    
  3. Running the New Juno Node: Finally, users can run a new Juno Node container using the latest Docker image. The command is similar to the initial run command but ensures the latest image is used:

    docker run -d \
      --name juno \
      -p 6060:6060 \
      -v $HOME/juno:/var/lib/juno \
      nethermind/juno:latest \
      --http \
      --http-port 6060 \
      --http-host 0.0.0.0 \
      --db-path /var/lib/juno \
      --eth-node <YOUR-ETH-NODE>
    

Benefit

This addition will make the README more comprehensive and assist users in keeping their Juno Nodes up-to-date with minimal hassle. It will also help in reducing the potential issues caused by running outdated versions of the node.

I am happy to contribute to this update. Please let me know if there are any specific guidelines or additional information required for this contribution.

Thank you for considering this improvement to the Juno Node documentation.

mettete avatar Jan 02 '24 20:01 mettete