Test Network Upgrading Instructions! For upgrading Lisk Node on the Main Network, see Upgrading Docker - Main Network.

Upgrade Lisk Node


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/testnet

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

docker run -d --restart=always -p lisk/testnet

Remove any dangling images.

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

What's next?
Source - Test Network