mirror of
https://github.com/corda/corda.git
synced 2025-01-17 18:29:49 +00:00
CORDA-2664 - Update Docker docs (#4801)
* CORDA-2664 - Update Docker docs (#4800) * CORDA-2664 - Use v4.0 on release branch
This commit is contained in:
parent
f9e07c0158
commit
c64301aa71
@ -20,7 +20,7 @@ In this example, the certificates are stored at ``/home/user/cordaBase/certifica
|
||||
-v /path/to/cordapps:/opt/corda/cordapps \
|
||||
-p 10200:10200 \
|
||||
-p 10201:10201 \
|
||||
corda/corda-4.0:RELEASE
|
||||
corda/corda-zulu-4.0-snapshot:latest
|
||||
|
||||
As the node runs within a container, several mount points are required:
|
||||
|
||||
@ -55,7 +55,7 @@ In this example, we have previously generated a network-parameters file using th
|
||||
-v /home/user/sharedFolder/network-parameters:/opt/corda/network-parameters \
|
||||
-p 10200:10200 \
|
||||
-p 10201:10201 \
|
||||
corda/corda-4.0-snapshot:latest
|
||||
corda/corda-zulu-4.0-snapshot:latest
|
||||
|
||||
There is a new mount ``/home/user/sharedFolder/node-infos:/opt/corda/additional-node-infos`` which is used to hold the ``nodeInfo`` of all the nodes within the network.
|
||||
As the node within the container starts up, it will place it's own nodeInfo into this directory. This will allow other nodes also using this folder to see this new node.
|
||||
@ -79,7 +79,7 @@ Joining TestNet
|
||||
-e LOCALITY="London" -e COUNTRY="GB" \
|
||||
-v /home/user/docker/config:/etc/corda \
|
||||
-v /home/user/docker/certificates:/opt/corda/certificates \
|
||||
corda/corda-4.0-snapshot:latest config-generator --testnet
|
||||
corda/corda-zulu-4.0-snapshot:latest config-generator --testnet
|
||||
|
||||
``$MY_PUBLIC_ADDRESS`` will be the public address that this node will be advertised on.
|
||||
``$ONE_TIME_DOWNLOAD_KEY`` is the one-time code provided for joining TestNet.
|
||||
@ -104,7 +104,7 @@ It is now possible to start the node using the generated config and certificates
|
||||
-v /home/user/corda/samples/bank-of-corda-demo/build/nodes/BankOfCorda/cordapps:/opt/corda/cordapps \
|
||||
-p 10200:10200 \
|
||||
-p 10201:10201 \
|
||||
corda/corda-4.0-snapshot:latest
|
||||
corda/corda-zulu-4.0-snapshot:latest
|
||||
|
||||
|
||||
Joining an existing Compatibility Zone
|
||||
@ -128,7 +128,7 @@ It is possible to configure the name of the Trust Root file by setting the ``TRU
|
||||
-e MY_EMAIL_ADDRESS="cordauser@r3.com" \
|
||||
-v /home/user/docker/config:/etc/corda \
|
||||
-v /home/user/docker/certificates:/opt/corda/certificates \
|
||||
corda/corda-4.0-snapshot:latest config-generator --generic
|
||||
corda/corda-zulu-4.0-snapshot:latest config-generator --generic
|
||||
|
||||
|
||||
Several environment variables must also be passed to the container to allow it to register:
|
||||
@ -159,5 +159,5 @@ Once the container has finished performing the initial registration, the node ca
|
||||
-v /home/user/corda/samples/bank-of-corda-demo/build/nodes/BankOfCorda/cordapps:/opt/corda/cordapps \
|
||||
-p 10200:10200 \
|
||||
-p 10201:10201 \
|
||||
corda/corda-4.0-snapshot:latest
|
||||
corda/corda-zulu-4.0-snapshot:latest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user