Tools, FAQ, Tutorials:
Container Network - "net_basic"
What is the Container Network - "net_basic"?
✍: FYIcenter.com
"net_basic" is a Docker container network consists of
all containers related to Hyperledger Fabric network, basic-network.
A container network groups containers together to
help network communications among those containers.
You can verify the "net_basic" container network, after you run the start.sh script:
$ cd ~/hyperledger-binaries/fabric-samples/basic-network $ ./strt.sh ... $ docker network inspect net_basic [ { "Name": "net_basic", "Id": "ff13abb21407d7764b667d473f01090077b5ff1c5c8f75b4bcbc670063605170", "Created": "2019-04-01T12:03:41.411515758Z", "Scope": "local", "Driver": "bridge", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": null, "Config": [ { "Subnet": "192.168.128.0/20", "Gateway": "192.168.128.1" } ] }, "Internal": false, "Attachable": false, "Ingress": false, "ConfigFrom": { "Network": "" }, "ConfigOnly": false, "Containers": { "12361f3715a349eac6a2a6433a652a9b3ce2d2596557afb8005e4d3305b25f3f": { "Name": "ca.example.com", "EndpointID": "83a004dae45691027e4c2861e86ea78b7188af6dd76a3...", "MacAddress": "02:42:c0:a8:80:03", "IPv4Address": "192.168.128.3/20", "IPv6Address": "" }, "1aa8a1f130e0b49e7cc454ca7957e331d7aaa1f6ad1a90317da25d3274042de2": { "Name": "peer0.org1.example.com", "EndpointID": "96d48509d5699d316f41890fe467c8e79daf321ad373f...", "MacAddress": "02:42:c0:a8:80:05", "IPv4Address": "192.168.128.5/20", "IPv6Address": "" }, "54a9c4e74d1c19a6d761c5645b0996c9612c718ee23f2b44812f1d72e7b61408": { "Name": "orderer.example.com", "EndpointID": "1a79adb524b7a4e1837237f2487ca0968bdf43e2c30b3...", "MacAddress": "02:42:c0:a8:80:02", "IPv4Address": "192.168.128.2/20", "IPv6Address": "" }, "9d3cdd6cc5c820b6dea6552526193ea2f4b4f313b8b9940945ec753502b692a5": { "Name": "couchdb", "EndpointID": "72b9e0a52bb0f74a3d1763a035e0f62d75f243d8d54b5...", "MacAddress": "02:42:c0:a8:80:04", "IPv4Address": "192.168.128.4/20", "IPv6Address": "" } }, "Options": {}, "Labels": {} } ]
As you can see, the "net_basic" network is defined as "local" IP network of 192.168.128.0/20, with each container assigned with a different "local" IP address.
The "net_basic" network allows its containers to do IP protocol communications with their "local" IP addresses.
Â
⇒ View Logs Files of basic-network
⇠Reinstall basic-network with Latest Images
⇑ fabric-samples/basic-network
⇑⇑ Hyperledger Tutorials
2020-04-14, 759👍, 0💬
Popular Posts:
How to extend json.JSONEncoder class? I want to encode other Python data types to JSON. If you encod...
How to View Atom Feeds with IE (Internet Explorer)? If you want to view Atom Feeds with IE (Internet...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
How to use "xsl-transform" Azure API Policy Statement? The "xsl-transform" Policy Statement allows y...