Docker

Upgrade Lisk Node

Warning

The provided instructions will remove the previous container and create a new one. Please be sure to backup any data before proceeding. See: docker cp --help for more information on how to copy files from the container to the host machine.

To update to the latest version of Lisk, simply run the following commands:

Display the Docker container id.

docker ps -a

Stop the Docker container (replace container_id with your own id).

docker stop container_id

Remove the old container (replace container_id with your own id).

docker rm container_id

Download the latest docker image.

docker pull lisk/mainnet

Install the docker image (executed only once per installation).

docker run -d --restart=always -p 0.0.0.0:8000:8000 lisk/mainnet

Remove any dangling images.

docker rmi $(docker images -q --filter "dangling=true")

What's next?
Source - Main Network