fabric
Docker Compose
Our great sponsors
fabric | Docker Compose | |
---|---|---|
5 | 384 | |
15,368 | 32,312 | |
0.7% | 1.2% | |
9.5 | 9.6 | |
6 days ago | 6 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fabric
-
Issue with Hyperledger fabric go build command
go: module github.com/hyperledger/fabric@upgrade found (v2.1.1+incompatible), but does not contain package github.com/hyperledger/fabric/core/chaincode/shim
-
Do others share this experience with respect to the $GOPATH
However - whenever I have issues involving Go and look them up on stackoverflow etc the answers invariably involve manipulating the GOPATH which seems irrelevant to me. For example, I'm trying to install goimports and all the answers resemble this one.
-
Using the Hyperledger Fabric Test Network on Windows 11 with WSL
hannu@HannusLaptop:/mnt/c/Hyperledger$ curl -sSL https://bit.ly/2ysbOFE | bash -s Clone hyperledger/fabric-samples repo ===> Cloning hyperledger/fabric-samples repo Cloning into 'fabric-samples'... remote: Enumerating objects: 9735, done. remote: Counting objects: 100% (42/42), done. remote: Compressing objects: 100% (38/38), done. remote: Total 9735 (delta 13), reused 26 (delta 4), pack-reused 9693 Receiving objects: 100% (9735/9735), 5.59 MiB | 1.33 MiB/s, done. Resolving deltas: 100% (5230/5230), done. Updating files: 100% (849/849), done. fabric-samples v2.4.2 does not exist, defaulting to main. fabric-samples main branch is intended to work with recent versions of fabric. Pull Hyperledger Fabric binaries ===> Downloading version 2.4.2 platform specific fabric binaries ===> Downloading: https://github.com/hyperledger/fabric/releases/download/v2.4.2/hyperledger-fabric-linux-amd64-2.4.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 680 100 680 0 0 1708 0 --:--:-- --:--:-- --:--:-- 1708 100 76.7M 100 76.7M 0 0 1519k 0 0:00:51 0:00:51 --:--:-- 1549k ==> Done. ===> Downloading version 1.5.2 platform specific fabric-ca-client binary ===> Downloading: https://github.com/hyperledger/fabric-ca/releases/download/v1.5.2/hyperledger-fabric-ca-linux-amd64-1.5.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 683 100 683 0 0 1778 0 --:--:-- --:--:-- --:--:-- 1774 100 25.4M 100 25.4M 0 0 1248k 0 0:00:20 0:00:20 --:--:-- 1157k ==> Done. Pull Hyperledger Fabric docker images FABRIC_IMAGES: peer orderer ccenv tools baseos ===> Pulling fabric Images ====> hyperledger/fabric-peer:2.4.2 2.4.2: Pulling from hyperledger/fabric-peer 97518928ae5f: Pull complete 42bd03df3e1a: Pull complete 3182c3c96871: Pull complete 44ae96fc98a2: Pull complete 2b2d34b5ab5c: Pull complete eff95e52b961: Pull complete 650bde1fc3f7: Pull complete Digest: sha256:5eaad9fd093fdfb449310ae851912ab2cf6cd5b634380497404b9cb8bf91dcd2 Status: Downloaded newer image for hyperledger/fabric-peer:2.4.2 docker.io/hyperledger/fabric-peer:2.4.2 ====> hyperledger/fabric-orderer:2.4.2 2.4.2: Pulling from hyperledger/fabric-orderer 97518928ae5f: Already exists 42bd03df3e1a: Already exists a565d10714cf: Pull complete cf01ceab4d02: Pull complete 641b37dc6c30: Pull complete a4f70ee0bbbe: Pull complete 3a78beab9d5d: Pull complete Digest: sha256:fc9fbf6d8c88ef7cff09835c5bf978388897a191ed9c9cf1ba33bc131a50799b Status: Downloaded newer image for hyperledger/fabric-orderer:2.4.2 docker.io/hyperledger/fabric-orderer:2.4.2 ====> hyperledger/fabric-ccenv:2.4.2 2.4.2: Pulling from hyperledger/fabric-ccenv 97518928ae5f: Already exists b78c28b3bbf7: Pull complete 248309d37e25: Pull complete 8f893ed93684: Pull complete 60b34f272e36: Pull complete bde889820d2b: Pull complete 759d90edbc0f: Pull complete 81a0619aeb06: Pull complete fc7be8cce065: Pull complete Digest: sha256:bd2fa8d04b7bb74f422c34b03cfce62750fc7d99f78410c6f4dd7ce4eaf5f594 Status: Downloaded newer image for hyperledger/fabric-ccenv:2.4.2 docker.io/hyperledger/fabric-ccenv:2.4.2 ====> hyperledger/fabric-tools:2.4.2 2.4.2: Pulling from hyperledger/fabric-tools 97518928ae5f: Already exists b78c28b3bbf7: Already exists 248309d37e25: Already exists 8f893ed93684: Already exists 60b34f272e36: Already exists fb1c258a462f: Pull complete cddf115ada33: Pull complete 24ea6585952d: Pull complete Digest: sha256:c3c4cdf3c73877c9d3dba1fcbbd59e152ecd23876a1ccb9f9bc9c4bed69824e7 Status: Downloaded newer image for hyperledger/fabric-tools:2.4.2 docker.io/hyperledger/fabric-tools:2.4.2 ====> hyperledger/fabric-baseos:2.4.2 2.4.2: Pulling from hyperledger/fabric-baseos 97518928ae5f: Already exists 42bd03df3e1a: Already exists 368f3bf0ffdc: Pull complete Digest: sha256:bdf4646cc0e98ab4cfab4a8cb109ebba5424ae5c84c799d5ec0f5eb7ae2ae2ca Status: Downloaded newer image for hyperledger/fabric-baseos:2.4.2 docker.io/hyperledger/fabric-baseos:2.4.2 ===> Pulling fabric ca Image ====> hyperledger/fabric-ca:1.5.2 1.5.2: Pulling from hyperledger/fabric-ca a0d0a0d46f8b: Pull complete ac8258c0aeb1: Pull complete 6c802cf1fa97: Pull complete Digest: sha256:faa3b743d9ed391c30f518a7cc1168160bf335f3bf60ba6aaaf1aa49c1ed023e Status: Downloaded newer image for hyperledger/fabric-ca:1.5.2 docker.io/hyperledger/fabric-ca:1.5.2 ===> List out hyperledger docker images hyperledger/fabric-tools 2.4 eb40f70b1174 8 weeks ago 473MB hyperledger/fabric-tools 2.4.2 eb40f70b1174 8 weeks ago 473MB hyperledger/fabric-tools latest eb40f70b1174 8 weeks ago 473MB hyperledger/fabric-peer 2.4 43b970f84604 8 weeks ago 62.3MB hyperledger/fabric-peer 2.4.2 43b970f84604 8 weeks ago 62.3MB hyperledger/fabric-peer latest 43b970f84604 8 weeks ago 62.3MB hyperledger/fabric-orderer 2.4 5edf6bdb4489 8 weeks ago 37.3MB hyperledger/fabric-orderer 2.4.2 5edf6bdb4489 8 weeks ago 37.3MB hyperledger/fabric-orderer latest 5edf6bdb4489 8 weeks ago 37.3MB hyperledger/fabric-ccenv 2.4 e377a02242aa 8 weeks ago 517MB hyperledger/fabric-ccenv 2.4.2 e377a02242aa 8 weeks ago 517MB hyperledger/fabric-ccenv latest e377a02242aa 8 weeks ago 517MB hyperledger/fabric-baseos 2.4 4cfe0148d657 8 weeks ago 6.94MB hyperledger/fabric-baseos 2.4.2 4cfe0148d657 8 weeks ago 6.94MB hyperledger/fabric-baseos latest 4cfe0148d657 8 weeks ago 6.94MB hyperledger/fabric-ca 1.5 4ea287b75c63 6 months ago 69.8MB hyperledger/fabric-ca 1.5.2 4ea287b75c63 6 months ago 69.8MB hyperledger/fabric-ca latest 4ea287b75c63 6 months ago 69.8MB hannu@HannusLaptop:/mnt/c/Hyperledger$
-
Nobody has found a use case for blockchain
After some research I found that they are using Hyperledger Fabric, a project hosted by the Linux Foundation.
https://github.com/hyperledger/fabric
-
How to get into blockchain coding?
I’ve found the best documentation for hyperledger is here https://github.com/hyperledger/fabric/tree/master/docs/source under the various folders. Lots of starter examples for hyperledger to try things out. This would be a good start. Otherwise I’d look for ethereum, or r3’s corda. Those are going to give the best mileage I’d think
Docker Compose
-
Docker compose, orchestrating and automating services
“Compose simplifies the control of your entire application stack, making it easy to manage services, networks, and volumes in a single, comprehensible YAML configuration file. Then, with a single command, you create and start all the services from your configuration file.” - Docker documentation
-
Hosting a simple docker-compose app with Nginx and generate a SSL with certbot on digitalocean droplet
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh # Install docker compose sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose # Apply executable permissions to the binary sudo chmod +x /usr/local/bin/docker-compose # Run Project docker-compose up -d
-
One Minute: Compose
Docker,
-
How to Set Up a Docker Container
This foundation now opens the door to even more powerful concepts. You can explore more advanced concepts such as container networking, streamlining the management of complex applications with Docker Compose, and how to make your application data persistent using volumes.
-
Use same Dockerfile for Dev & Production
In many projects that are containerized, especially in cases where development is also done locally with docker-compose, teams often have two Dockerfiles, 1 for Development, the other for Production. If you happen to have multiple environments like pre-prod, staging and so on, some teams could have different Dockerfiles for these environments.
-
How to Dockerise a NodeJS - TypeScript API || A Comprehensive Guide from Environment Setup to Deployment with a CI/CD Pipeline
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
-
Deploy a MongoDB Cluster With Docker Compose
You can also use Docker Compose to deploy the cluster, without having to write all the previous commands.
-
Build and Deploy a ReactJS App to AWS EC2 with Docker, NGINX, and Automate with GitHub Actions.
[ec2-user]$ sudo yum update -y [ec2-user]$ sudo yum install -y docker [ec2-user]$ sudo service docker start [ec2-user]$ sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose [ec2-user]$ sudo chmod +x /usr/local/bin/docker-compose [ec2-user]$ docker --version Docker version 20.10.23, build 7155243 [ec2-user]$ docker-compose --version Docker Compose version v2.18.1
-
MongoDB on Your Local Machine Using Docker: A Step-by-Step Guide
Docker Compose Documentation
-
Docker - Setup a local JS and Python Development environment (Part 2)
groupadd -g 997 docker gpasswd -a jenkins docker curl -L https://github.com/docker/compose/releases/tag/1.29.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose #confirm the docker-compose is installed docker-compose version
What are some alternatives?
firefly - Hyperledger FireFly is the first open source Supernode: a complete stack for enterprises to build and scale secure Web3 applications. The FireFly API for digital assets, data flows, and blockchain transactions makes it radically faster to build production-ready apps on popular chains and protocols.
supervisor - Supervisor process control system for Unix (supervisord)
tendermint - ⟁ Tendermint Core (BFT Consensus) in Go
LibreNMS-docker - LibreNMS Docker image
pyinfra - pyinfra automates infrastructure using Python. It’s fast and scales from one server to thousands. Great for ad-hoc command execution, service deployment, configuration management and more.
terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
Portainer - Making Docker and Kubernetes management easy.
burrow - https://wiki.hyperledger.org/display/burrow
Cloud-Init - unofficial mirror of Ubuntu's cloud-init
sawtooth-core - Core repository for Sawtooth Distributed Ledger
k3s - Lightweight Kubernetes