mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-19 00:15:08 +00:00
Docker version 20.10 support rootless mode. That features changes a mount path of docker.sock. This PR loads a mount path from DOCKER_HOST environment, and if not set, a mount path will be /var/run/docker.sock FAB-18481 Signed-off-by: Nao Nishijima <nao.nishijima.xt@hitachi.com> |
||
|---|---|---|
| .. | ||
| addOrg3 | ||
| configtx | ||
| docker | ||
| organizations | ||
| scripts | ||
| system-genesis-block | ||
| .gitignore | ||
| network.sh | ||
| README.md | ||
Running the test network
You can use the ./network.sh script to stand up a simple Fabric test network. The test network has two peer organizations with one peer each and a single node raft ordering service. You can also use the ./network.sh script to create channels and deploy chaincode. For more information, see Using the Fabric test network. The test network is being introduced in Fabric v2.0 as the long term replacement for the first-network sample.
Before you can deploy the test network, you need to follow the instructions to Install the Samples, Binaries and Docker Images in the Hyperledger Fabric documentation.