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.

  • Option A - Download pre-built images from DockerHub

  • Option B - Build images locally

  1. Stop Lisk Core

    make stop
  2. 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
  3. 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.

  1. Stop Lisk Core

    make stop
  2. Checkout the version with git checkout <tag>

    git checkout v4.0.0
  3. Build the required updated Docker image

    make build-image
  4. Start Lisk Core in the container

    make start ARGS="-n mainnet --api-ws"
    Please customize the ARGS as per your requirements.