As of v1.52.2, the storagenode software will automatically update itself. We recommend that you install Watchtower in the event that the base image needs updating. Watchtower will look for new updates to the Docker container on Docker Hub in a random interval between 12 and 72 hours and automatically update your storage node when it sees a new version.
First, please pull the latest watchtower image from docker:
To set up auto-update for storagenode, please run the following command once:
If you want to double check that watchtower is properly running, you can run the following command
You should see the “storjlabs/watchtower:latest” container with the uptime under the “status” column
Please use manual updates only if the automatic update method was unsuccessful, or is unavailable for your node configuration.
Stop the running Storage Node container:
Remove the existing container:
Pull the latest image from docker:
Start your storage node again
Previous versions of the command
docker run storagenodethat used the
-vrather than the
--mountoption will not work properly. Copy the updated command from the Storage Node article.
Be sure to finish editing