In order to fully reinstall your node, please save your node network identity and ERC725 identity by running:

docker cp otnode:/ot-node/data/erc725_identity.json ~

and then

docker cp otnode:/ot-node/data/identity.json ~

This will copy the  files to your HOME directory.

IMPORTANT: Before you continue you should be aware that the following steps will also delete all the data stored on your node. 

Clean the old version and setup new container by running the following commands:

docker stop otnode

docker rm otnode

Now lets delete the image by using the command:

sudo docker images

After you typed this command you should be able to see something like this:

copy your "IMAGE ID" and use the command:

docker rmi "your IMAGE ID"

Example for this case: 

docker rmi 147d2b793e8a

After your image is removed, continue with the command which are shown below:

docker run -it --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc -v ~/identity.json:/ot-node/data/identity.json -v ~/erc725_identity.json:/ot-node/data/erc725_identity.json quay.io/origintrail/otnode-mariner:release_mariner

Please keep following our Discord channel for further instructions and updates. 

If you have any questions, please contact us at tech@origin-trail.com.

Did this answer your question?