Skip to content

Commit

Permalink
Change name of test network docker network in 2.2
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil Gupta <[email protected]>
  • Loading branch information
Nikhil Gupta authored and denyeart committed Aug 30, 2021
1 parent 859c7d5 commit f441ba2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/source/create_channel/create_channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ You can then use the following command to start the test network:
```
This command will create a Fabric network with the two peer organizations and the single ordering organization defined in the `configtx.yaml` file. The peer organizations will operate one peer each, while the ordering service administrator will operate a single ordering node. When you run the command, the script will print out logs of the nodes being created:
```
Creating network "net_test" with the default driver
Creating network "fabric_test" with the default driver
Creating volume "net_orderer.example.com" with default driver
Creating volume "net_peer0.org1.example.com" with default driver
Creating volume "net_peer0.org2.example.com" with default driver
Expand Down
2 changes: 1 addition & 1 deletion docs/source/deploy_chaincode.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ find . -name monitordocker.sh

You can then start Logspout by running the following command:
```
./monitordocker.sh net_test
./monitordocker.sh fabric_test
```
You should see output similar to the following:
```
Expand Down
2 changes: 1 addition & 1 deletion docs/source/test_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ ordering node. No channel is created when you run `./network.sh up`, though we
will get there in a [future step](#creating-a-channel). If the command completes
successfully, you will see the logs of the nodes being created:
```
Creating network "net_test" with the default driver
Creating network "fabric_test" with the default driver
Creating volume "net_orderer.example.com" with default driver
Creating volume "net_peer0.org1.example.com" with default driver
Creating volume "net_peer0.org2.example.com" with default driver
Expand Down
14 changes: 7 additions & 7 deletions docs/source/tutorial/commercial_paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@ need to horizontally scroll to locate the information):
* The Ordering Org CA, `ca_orderer`, is running in container `7b01f5454832`

These containers all form a [Docker network](https://docs.docker.com/network/)
called `net_test`. You can view the network with the `docker network` command:
called `fabric_test`. You can view the network with the `docker network` command:

```
$ docker network inspect net_test
$ docker network inspect fabric_test
[
{
"Name": "net_test",
"Name": "fabric_test",
"Id": "f4c9712139311004b8f7acc14e9f90170c5dcfd8cdd06303c7b074624b44dc9f",
"Created": "2020-04-28T22:45:38.525016Z",
"Containers": {
Expand Down Expand Up @@ -289,21 +289,21 @@ smart contracts, for example.

In the MagnetoCorp directory, run the following command to run the
`monitordocker.sh` script and start the `logspout` tool for the containers
associated with PaperNet running on `net_test`:
associated with PaperNet running on `fabric_test`:
```
(magnetocorp admin)$ ./configuration/cli/monitordocker.sh net_test
(magnetocorp admin)$ ./configuration/cli/monitordocker.sh fabric_test
...
latest: Pulling from gliderlabs/logspout
4fe2ade4980c: Pull complete
decca452f519: Pull complete
(...)
Starting monitoring on all containers on the network net_test
Starting monitoring on all containers on the network fabric_test
b7f3586e5d0233de5a454df369b8eadab0613886fc9877529587345fc01a3582
```

Note that you can pass a port number to the above command if the default port in `monitordocker.sh` is already in use.
```
(magnetocorp admin)$ ./monitordocker.sh net_test <port_number>
(magnetocorp admin)$ ./monitordocker.sh fabric_test <port_number>
```

This window will now show output from the Docker containers for the remainder of the
Expand Down

0 comments on commit f441ba2

Please sign in to comment.