In order to update your OT node Docker image you will need to:

Step 1: First of all you will need to pull the latest version of OT node by using the command:

docker pull

Step 2: After that you will have to stop your node from running by entering:

docker stop otnode

Step 3: Now you should remove old container by entering:

docker rm otnode
docker system prune -f
docker volume prune -f

Step 4:

sudo docker run -i --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc origintrail/ot-node

Note: Please keep in mind that in above example config file is stored at ~/.origintrail_noderc. Use your own path.

Did this answer your question?