The NuLink worker node need to be updated when a new version is released. The update in docker is simple: stop the node, pull the latest image and restart the node.
Stop the running node in Docker:
docker kill <container ID>
Delete the container:
docker rm <container ID>
Pull the latest NuLink image.
docker pull nulink/nulink:latest
Re-launch the worker node.
docker run --restart on-failure -d \ --name ursula \ -p 9151:9151 \ -v /root/nulink:/code \ -v /root/nulink:/home/circleci/.local/share/nulink \ -e NULINK_KEYSTORE_PASSWORD \ -e NULINK_OPERATOR_ETH_PASSWORD \ nulink/nulink nulink ursula run --no-block-until-ready
Last updated 1 month ago