Skip to main content

How to update your Docker node

Andzej Korkuz avatar
Written by Andzej Korkuz
Updated over 2 weeks ago

Updating your Docker node is simple. Just make sure your data and keys are safe before pulling the latest image.

Before you start

  • Make sure your node data is stored in a persistent volume (for example myst-data).

  • (Optional) Back up your keys first. See the Backing up node identity guide.

Pull the latest image

docker pull mysteriumnetwork/myst

Remove the old container

docker rm -f myst

(Optional) Clean up old images

Free up disk space by pruning unused images:

docker image prune

Start a new container

Run the latest image using the persistent data volume.
See the Running a Docker node guide for the full command.

Done

Your node is now running on the latest version. Your identity and earnings are safe as long as you used persistent storage.

Did this answer your question?