To reinstall the node you should run the following commands in your terminal:

docker stop otnode

docker rm otnode

docker system prune -f

docker volume prune -f

docker pull quay.io/origintrail/otnode:master
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: in this example, our configuration file .origintrail_noderc is placed in to the home folder of the current user (ie. /home/ubuntu).

Did this answer your question?