2. Build the Fabric blockchain network environment - prerequisites and fabric installation

(1) Installation prerequisites:

The fulfillment of these prerequisites ensures that you can successfully build and run the Fabric blockchain network, and develop, deploy and execute the chaincode.

  • Install Docker: Make sure Docker is installed on your system and the Docker service is running.

Docker: Fabric uses Docker containerization technology to deploy and manage various components of the blockchain network. Docker provides a lightweight, portable container runtime environment, making it possible to run Fabric networks consistently on different operating systems and platforms.

The steps to install Docker on Ubuntu 20.04 are as follows:

1. Update the package list:

sudo apt update

2. Install the necessary dependencies to access the Docker repository over HTTPS using apt:

sudo apt install apt-transport-https ca-certificates curl software-properties-common

3. Add the official Docker GPG key:

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

4. Add Docker's APT repository: 

ec

Guess you like

Origin blog.csdn.net/weixin_61275790/article/details/130786856