You can set up automatic updates for your storagenode Docker container using watchtower. 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.
1. Stop the running Storage Node container:
2. Remove the existing container:
3. Pull the latest image from docker:
4. Start your storage node again by running the following command after editing WALLET, EMAIL, ADDRESS, STORAGE, <identity-dir>, and <storage-dir> .
Previous versions of the command docker run storagenode that used the-v rather than the --mount option will not work properly. Copy the updated command below.