Update Lisk Core (Docker)
This page describes how to update the Docker image-based container in Lisk Core.
Lisk Core version 4 does not have any external dependencies, and hence does not require using docker-compose
.
To upgrade the Docker container to a desired version, please follow one of the two options below. To find all the tagged versions for Lisk Core, please check the available tags on GitHub.
-
Stop Lisk Core
make stop
-
Manually download the image from
DockerHub
.docker image pull lisk-core
To download a specific version of Lisk Core, please include the tag after lisk-core
in the above command. For example,lisk-core:4.0.0
-
Start Lisk Core in the containers.
make start ARGS="-n mainnet --api-ws"
Please customize ARGS
as per your requirements.
Build the images locally using the following steps. Navigate inside the lisk-core root folder, and execute the following commands.
-
Stop Lisk Core
make stop
-
Checkout the version with
git checkout <tag>
git checkout v4.0.0
-
Build the required updated Docker image
make build-image
-
Start Lisk Core in the container
make start ARGS="-n mainnet --api-ws"
Please customize the ARGS
as per your requirements.