<< < 48 49 50 51 52 53 54 55 56 57 58 > >>   Sort: Date

Build "hello" Image from Alpine
How to Build my "hello" Docker image from the Alpine image? I want the container to print "Hello!" in the console. If you want to build a new Docker image, you can try to build it with the Alpine image as its base as shown in this tutorial. 1. Create a "Dockerfile" file with 2 instructions: fyicente...
2019-02-19, 1034🔥, 0💬

Getting Extra White Spaces in HTML
How To Get an Extra White Space? As you know that white space characters will be ignored in elements like "p". So how to get some extra white space to show up in your text paragraphs? On easy solution is to use XHTML entity: "&amp;nbsp;", which stands for "non-breaking space". Here is an example...
2024-02-18, 1032🔥, 0💬

"docker container logs" - Fetch Logs
How to fetch log messages from a container with the "docker container logs" command? Most Docker container applications print log messages to its console to report statuses and debug information. You can fetch log messages from a container with the "docker container logs" command at any time, even a...
2019-04-29, 1027🔥, 0💬

"composer network" - Deploy BNA File
How to deploy and start a business network BNA file to the local Hyperledger Fabric developer environment? You can use the "composer network" command to deploy and start a business network BNA file on the local Hyperledger Fabric developer environment: $ cd tutorial-network $ composer network instal...
2021-02-04, 1026🔥, 0💬

Requirements for Registering New Identities
What are requirements for Registering New Identities? With the Fabric CA Client tool, you can register new identities on the Fabric CA Server, if you meet the following requirements: 1. You, as the registrar, must have an identity in your wallet that has the "hf.Registrar.Roles" attribute with a val...
2019-09-16, 1024🔥, 0💬

What Is "docker build" Command
What is "docker build" Command? "docker build" Command allows you build new Docker image with instructions given in a given Dockerfile. Here is the syntax of the "docker build" command: fyicenter$ docker build --help Usage: docker build [OPTIONS] PATH | URL | - Build an image from a Dockerfile Optio...
2019-01-27, 1024🔥, 0💬

MySQL Database Server Connection Information
What information is needed to connect to a MySQL database? In order to connect to a MySQL database server, you need to get the following information from your DBA: Host Name: This is the host name on the network, or the IP address that runs the MySQL database server. Port Number: This is the port nu...
2021-11-13, 1023🔥, 0💬

Verify Blockchain on the Channel
How to Verify Blockchain on the Channel? Since all transactions (changes of assets managed by chaincodes) are stored in the blockchain shared by all peers of the channel, you can use the "peer channel" CLI command to look at them. 1. Connect to CLI container: $ docker exec -it cli bash root@262918fd...
2020-02-20, 1023🔥, 0💬

What Is Hyperledger Fabric Query
What Is Hyperledger Fabric Query? A Hyperledger Fabric Query is a GET operation provided by a chaincode on a channel on a Hyperledger Fabric network to return the current state of a given asset. In order to perform a query operation, you need to prepare the following: Asset ID - Identifies the Asset...
2020-01-29, 1021🔥, 0💬

"peer chaincode invoke" on BYFN
How to run "peer chaincode invoke" to invoke the transaction on the chaincode instance? After a chaincode in properly installed on all peers and instantiated on the channel, you can run the "peer chaincode invoke" to invoke the transaction on the chaincode instance. 1. Verify instantiated chaincode:...
2020-08-13, 1020🔥, 0💬

"docker start/stop" - Start and Stop Docker Containers
How to run "docker start/stop" - Start and Stop Docker Containers for BYFN (Build Your First Network)? If you have your BYFN Docker containers deployed to the Docker Engine, you can use the "docker start/stop" command to manage them. 1. Look at the status of all deployed Docker containers: $ docker ...
2020-10-10, 1018🔥, 0💬

Deploy orderer.example.com Manually
How to Deploy orderer.example.com as a Docker container manually? You can follow this tutorial to Deploy orderer.example.com as a Docker container manually. 1. Verify the configuration of the orderer.example.com container defined in the docker-compose.yml file: $ cd ~/hyperledger-binaries/fabric- sam...
2020-03-25, 1016🔥, 0💬

Steps of Setting Up Ledger Peer
What are major steps to Set Up an Ledger Peer on a Hyperledger Fabric network? Here are major steps to Set Up an Ledger Peer (also called Peer Node) on a Hyperledger Fabric network. Pulling the Hyperledger Fabric peer images from docker hub. Creating the organization your peer node belongs to. Confi...
2019-05-14, 1016🔥, 0💬

View Logs Files of basic-network
How to view logs files of the example network, basic-network? The example network, basic-network, consists of 4 Docker containers. You can view the log file on each container. 1. View log file of the orderer container: $ docker logs orderer.example.com [orderer.common.server] prettyPrintStruct -&...
2020-04-14, 1015🔥, 0💬

Contents of Hyperledger Fabric Binary Package
What contents are included in the Hyperledger Fabric Binary Package? Here is the directory list of the Hyperledger Fabric Binary Package: $ cd ~/hyperledger-binaries/fabric- samples$ ls -l -rw-rw-r-- 1 fyicenter 597 Apr 1 23:01 CODE_OF_CONDUCT.md -rw-rw-r-- 1 fyicenter 961 Apr 1 23:01 CONTRIBUTING.m...
2020-01-21, 1014🔥, 0💬

Uninstall Chaincode on BYFN Peers
How to uninstall chaincodes on BYFN Peers? Unfortunately, the BYFN CLI "peer chaincode" command does offer any option to uninstall chaincodes from a given peer. You have two options when your chaincodes from different peers are out of sync or incompatible: 1. Destroy chaincode instance and re-instal...
2020-09-15, 1013🔥, 0💬

Create Orderer Organization Definition
How to Create Orderer Organization Definition? You can follow this tutorial to Create Orderer Organization Definition. 1. Instead of creating a new MSP entry for the orderer, you can borrow the one created in BYFN tutorials: $ mkdir fabric-orderer $ cd fabric-orderer $ cp -r ~/hyperledger-binaries/f...
2019-09-04, 1013🔥, 0💬

"docker container rm ..." - Remove All Containers
How to remove all containers from the Docker Engine with "docker container rm ..." command? If you have created many containers on the Docker Engine and you want to remove them all, you can use the "docker container rm ..." command with a sub-command to specify the list of all container IDs. 1. Run ...
2019-09-12, 1012🔥, 0💬

"python" - Python Docker Image
What is the Python Docker Image, "python"? I wan to use it build a Python application. The Python Docker Image, "python", is the official Docker image that provides you a Python development environment. You pull and try it. 1. Search for the "python" image. fyicenter$ docker search python NAME DESCR...
2019-02-04, 1012🔥, 0💬

Remove Log Files of Docker Container
How to remove log files of a Docker container? If you keep a Docker container running for many days, it will generate many log files on your hosting system. You can follow this tutorial to remove old log files of a Docker container. 1. Get the container ID of "peer0.org1.example.com" container: $ do...
2020-05-29, 1010🔥, 0💬

Hyperledger Composer Runtime
What Is the Hyperledger Composer Runtime? The primary component of the Hyperledger Composer is the Composer Runtime as shown in the following architecture diagram: |----------------------------- || Business | Business | ... | | Network 1 | Network 2 | ... | |----------- API -------------| |---------...
2021-12-28, 1009🔥, 0💬

Pull Hyperledger Fabric Orderer Image
How to Pull Hyperledger Fabric Orderer Image from docker hub? You can follow this tutorial to Pull Hyperledger Fabric Orderer Image from docker hub. 1. Check the Docker local repository: $ docker image list | grep fabric-orderer hyperledger/fabric-orderer latest ec4ca236d3d4 2 weeks ago 173MB hyperl...
2019-09-04, 1009🔥, 0💬

Orderer Peer Operation RESTful API
What is Orderer Peer Operation RESTful API? The Orderer Peer Operation RESTful API is RESTful Web service provided by an orderer peer. It is different than and separated from the primary orderer Web service provided by the orderer peer. orderer Peer Operation RESTful API exposes the following functi...
2019-05-14, 1009🔥, 0💬

Hyperledger Composer Log File Location
Where are Hyperledger Composer Log Files located? Log files of the Hyperledger Composer developer environment is located in the "~/.composer/logs" directory. $ cd ~/.composer/logs $ ls -l -rw-rw-r-- 1 fyicenter 2257 Mar 31 19:49 trace_20190331.log -rw-rw-r-- 1 fyicenter 10482 Apr 1 13:05 trace_20190...
2020-12-02, 1008🔥, 0💬

<< < 48 49 50 51 52 53 54 55 56 57 58 > >>   Sort: Date