Download the following docker compose file as sawtooth-default.yaml






















Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Hyperledger sawtooth installation problems. No connectivity between host computer and docker container Ask Question. Asked 3 years, 3 months ago.

Active 2 years, 10 months ago. Viewed times. Here is the yaml file: version: "2. Improve this question. Carlos Carlos 3 3 3 bronze badges. All the nodes in the network have identical information with them.

Immutable : The data, once stored in the blockchain, cannot be altered. There exist block hashes to detect any attempt to chain the history. Secure : Since the transactions are made between untrusted parties, they are verified and signed by known identities that are part of the blockchain itself. Permissioned as well as permissionless infrastructure : It allows you to build both permissioned as well as permissionless blockchains depending upon the use case.

In the case of permissionless blockchains, anybody can participate in the network whereas in the case of permissioned blockchains, prospective participants must identify themselves to the network and the network can decide whether to let them participate. Once in the network, participants share a view of the blockchain ledger. Parallel transaction execution : Along with a serial scheduler, it also has an advanced parallel scheduler that allows parallel execution of transactions.

Thus, increasing performance. Modular : It provides a modular platform for transaction-based updates to shared state data between untrusted parties. Hardware integration : In addition to certain public blockchain features, Hyperledger Sawtooth has become known for the ease with which it can be integrated with hardware security solutions.

There are two simple rules in this consensus: Each participant in the blockchain network waits a random amount of time. The first participant to finish waiting gets to be the leader for the new block. Or you can use any other docker-compose file depending upon your use case. There will typically also be a db service, from a standard postgres or other database image. Most Divio projects will use a docker-compose.

The first definition in the file is for the web service. In order, the directives mean:. When you execute a docker-compose command, the volumes directive in docker-compose. If a matching target path exists already as part of the container image, it will be overwritten by the mounted path.

This allows you to make changes to the project from your computer during the local development process, that will be picked up by project inside Docker. The first section simply specifies which version of the Docker Compose definition language we are using; in our case, as we are running a recent version of Docker and Docker Compose, we are using version 3.

The next section is where our containers are defined; this section is the services section. It takes the following format. We can even build images from a Dockerfile during the compose, and then use it for the app.

For example, to build the WordPress image, we can use the corresponding Dockerfile and place it within the application compose directory.



0コメント

  • 1000 / 1000