Tools, FAQ, Tutorials:
Reinstall basic-network with Latest Images
How to Reinstall basic-network with Latest Images?
✍: FYIcenter.com
You follow this tutorial to
Reinstall basic-network with Latest Images.
1. Run teardown.sh script to remove containers and their images related to the basic-network:
$ cd ~/hyperledger-binaries/fabric-samples/basic-network $ ./teardown.sh Removing peer0.org1.example.com ... done Removing orderer.example.com ... done Removing couchdb ... done Removing ca.example.com ... done Removing network net_basic
2. Check for all Hyperledger Fabric related images:
$ docker images | grep fabric REPOSITORY TAG CREATED SIZE hyperledger/fabric-ca 1.4.0 3 months ago 244MB ...
3. Remove each of those images manually:
$ docker rmi hyperledger/fabric-ca:1.4.0 Untagged: hyperledger/fabric-ca:1.4.0 Untagged: hyperledger/fabric-ca@sha256:c1dce534d9e9202697e0aaad7c55...
4. Re-run start.sh to download all images again:
$ ./start.sh Creating network "net_basic" with the default driver Pulling ca.example.com (hyperledger/fabric-ca:)... latest: Pulling from hyperledger/fabric-ca 34667c7e4631: Pull complete d18d76a881a4: Pull complete 119c7358fbfc: Pull complete 2aaf13f3eff0: Pull complete 3f89de4cf84b: Pull complete 24194f819972: Pull complete a3d7dc54e295: Pull complete 9a3c9a0ecc41: Pull complete 7.663MB/7.663MBownload complete e1f5909edf17: Download complete 17.65MB/18.76MBwnload complete ...
5. Check all Docker containers of basic-network:
$ docker ps IMAGE STATUS NAMES hyperledger/fabric-peer Up 25 seconds peer0.org1.example.com hyperledger/fabric-orderer Up 34 seconds orderer.example.com hyperledger/fabric-couchdb Up 32 seconds couchdb hyperledger/fabric-ca Up 33 seconds ca.example.com
6. Check all Docker images of basic-network:
$ docker images | grep fabric REPOSITORY TAG CREATED SIZE hyperledger/fabric-ca latest 7 days ago 252MB hyperledger/fabric-orderer latest 7 days ago 173MB hyperledger/fabric-peer latest 7 days ago 178MB hyperledger/fabric-couchdb latest 4 weeks ago 1.5GB
As you can see, we are running basic-network with the latest images now.
⇒ Container Network - "net_basic"
⇐ "docker rmi" - Remove Docker Images
2020-04-14, 1060🔥, 0💬
Popular Posts:
How to install .NET Framework in Visual Studio Community 2017? I have the Visual Studio Installer in...
How To Break a File Path Name into Parts in PHP? If you have a file name, and want to get different ...
How to use urllib.parse.urlencode() function to encode HTTP POST data? My form data has special char...
What Happens If One Row Has Missing Columns? What happens if one row has missing columns? Most brows...
How to attach console to a Running Container using the "docker container exec" command? I want to ge...