Switching to a rolling node

In order to switch from the old image to the smaller rolling node which uses less disk space you will need to follow the below instructions.

Login to your node:

docker ps

Check your container ID

docker exec -it <container_ID> bash

Execute the following commands in the shell to remove old storage and context and recover disk space:

supervistorctl stop all
rm -rf ~/.tlnt-node/context ~/.tlnt-node/store ~/.tlnt-node/lock ~/.tlnt-node/.*upgrade* 

Make sure you stop your docker container. You can check the container ID with docker ps

docker stop <container_ID>

Pull the latest build from docker hub.

docker pull t4l3nt/t4l3nt:v12-tlnt-rolling

Start up the rolling node again using your old volume to maintain your existing keys etc.

Now when the node starts on first start it will download the latest rolling snapshot which saves a lot of time. The rolling mode will also save a lot of disk space.

docker run -it -p 8733:8733 -p 9733:9733 -v tlnt-data:/home/tlnt t4l3nt/t4l3nt:v12-tlnt-rolling

Last updated