Skip to content

Commit

Permalink
Merge pull request #55 from OriginTrail/feature/new-image-repository
Browse files Browse the repository at this point in the history
Update docker image link
  • Loading branch information
Kuki145 committed May 21, 2021
2 parents f368e31 + 11317e9 commit b22d3ac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 4 additions & 2 deletions source/Running-a-Node/backup-and-restore.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ Now you've successfully removed your image, and can download a new one.Run the f

.. code:: bash
sudo docker create -i --log-driver json-file --log-opt max-size=1g --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc quay.io/origintrail/otnode:release_mainnet
sudo docker create -i --log-driver json-file --log-opt max-size=1g --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc origintrail/ot-node:release_mainnet
Note: If you're running a testnet node, just replace mainnet with testnet in the command. Also, thanks for helping us test new features, you rock!
.. note::
If you're running a testnet node, just replace mainnet with testnet in the command.
Also, thanks for helping us test new features, you rock! 🤘

The last thing to do is to put your backup into your new container.

Expand Down
6 changes: 3 additions & 3 deletions source/Running-a-Node/basic-setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Let’s just point Docker to the right image and configuration file with the fol

.. code:: bash
sudo docker run -i --log-driver json-file --log-opt max-size=1g --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc quay.io/origintrail/otnode:release_mainnet
sudo docker run -i --log-driver json-file --log-opt max-size=1g --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc origintrail/ot-node:release_mainnet
NOTE: Please make sure that your ``.origintrail_noderc`` file is ready before running the following commands. In this example, the configuration file ``.origintrail_noderc`` is placed into the home folder of the current user (ie. /home/ubuntu). You should point to the path where you created ``.origintrail_noderc`` on your file system.

Expand All @@ -110,7 +110,7 @@ Let’s just point Docker to the right image and configuration file with the fol

.. code:: bash
sudo docker run -i --log-driver json-file --log-opt max-size=1g --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc quay.io/origintrail/otnode:release_testnet
sudo docker run -i --log-driver json-file --log-opt max-size=1g --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc origintrail/ot-node:release_testnet
NOTE: Please make sure that your ``.origintrail_noderc`` file is ready before running the following commands. In this example, the configuration file ``.origintrail_noderc`` is placed into the home folder of the current user (ie. /home/ubuntu). You should point to the path where you created ``.origintrail_noderc`` on your file system.

Expand Down Expand Up @@ -413,7 +413,7 @@ Now, create the docker container and mount cert dir into the container. We can a

.. code:: bash
sudo docker run -i --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v /home/user/certs:/ot-node/certs/ -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc quay.io/origintrail/otnode:release_mainnet
sudo docker run -i --name=otnode -p 8900:8900 -p 5278:5278 -p 3000:3000 -v /home/user/certs:/ot-node/certs/ -v ~/.origintrail_noderc:/ot-node/.origintrail_noderc origintrail/ot-node:release_mainnet
After this, the running container will be able to find certificate files at the ‘/ot-node/certs/’ location.

Expand Down
5 changes: 3 additions & 2 deletions source/Running-a-Node/identity-management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ Let’s say a user already has the network and ERC725 identity files in the home

.. code:: bash
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:release_mainnet
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 origintrail/ot-node:release_mainnet
Please note this example is for mainnet. For testnet use ``origintrail/otnode:release_testnet`` instead \ `quay.io/origintrail/otnode:release\_mainnet <http://quay.io/origintrail/otnode:release_mainnet>`__
.. note::
Please note this example is for mainnet. For testnet use ``origintrail/ot-node:release_testnet`` instead

Identity management
-------------------
Expand Down

0 comments on commit b22d3ac

Please sign in to comment.