Docker images for Hyperledger Fabric CA.
latest
(latest/Dockerfile): Default to enable pbft as consensus.v2.0.0
(v2.0.0/Dockerfile): v2.0.0 release.v1.5.5
(v1.5.5/Dockerfile): v1.5.5 release.v1.5.2
(v1.5.2/Dockerfile): v1.5.2 release.v1.5.0
(v1.5.0/Dockerfile): v1.5.0 release.release-v1.4
(release-v1.4/Dockerfile): v1.4 LTS release.v1.4.9
(v1.4.9/Dockerfile): v1.4.9 release.v1.4.8
(v1.4.8/Dockerfile): v1.4.8 release.v1.4.7
(v1.4.7/Dockerfile): v1.4.7 release.v1.4.6
(v1.4.6/Dockerfile): v1.4.6 release.v1.4.5
(v1.4.5/Dockerfile): v1.4.5 release.v1.4.4
(v1.4.4/Dockerfile): v1.4.4 release.v1.4.3
(v1.4.3/Dockerfile): v1.4.3 release.v1.4.2
(v1.4.2/Dockerfile): v1.4.2 release.v1.4.1
(v1.4.1/Dockerfile): v1.4.1 release.v1.4.0
(v1.4.0/Dockerfile): v1.4.0 release.v1.3.0
(v1.3.0/Dockerfile): v1.3.0 release.v1.2.0
(v1.2.0/Dockerfile): v1.2.0 release.v1.1.0
(v1.1.0/Dockerfile): v1.1.0 release.v1.1.0-rc1
(v1.1.0-rc1/Dockerfile): v1.1.0-rc1 release.v1.0.6
(v1.0.6/Dockerfile): v1.0.6 release.v1.0.5
(v1.0.5/Dockerfile): v1.0.5 release.v1.1.0-preview
(v1.1.0-preview/Dockerfile): v1.1.0-preview release.v1.0.4
(v1.0.4/Dockerfile): v1.0.4 release.v1.0.3
(v1.0.3/Dockerfile): v1.0.3 release.v1.0.2
(v1.0.2/Dockerfile): v1.0.2 release.v1.0.1
(v1.0.1/Dockerfile): v1.0.1 release.v1.0.0
(v1.0.0/Dockerfile): v1.0.0 release.v1.0.0-rc1
(v1.0.0-rc1/Dockerfile): v1.0.0-rc1 release.v1.0.0-beta
(v1.0.0-beta/Dockerfile): v1.0.0-beta release.
For more information about this image and its history, please see the relevant manifest file in the yeasy/docker-hyperledger-fabric-ca
GitHub repo.
If you want to quickly deploy a local cluster without any configuration and vagrant, please refer to Start hyperledger clsuter using compose.
Docker image with hyperledger fabric-ca (memberservice for fabric 1.0).
The docker image is auto built at https://registry.hub.docker.com/u/yeasy/hyperledger-fabric-ca/.
FROM yeasy/hyperledger-fabric-ca:latest
By default will start the ca server with default certificates and $COP/testdata/ca.json file, and map to local 8888
port.
$ docker run -it -p 8888:8888 yeasy/hyperledger-fabric-ca
Note in the config file, we have the "admin" user with a password of "adminpw".
$ docker run -it --rm yeasy/hyperledger-fabric-ca ca client enroll admin adminpw http://localhost:8888
The following command renews the enrollment certificate of a client.
$ docker run -it --rm yeasy/hyperledger-fabric-ca ca client reenroll http://localhost:8888
Note that this updates the enrollment material in the $COP_HOME/client.json
file.
Need to config a json file first.
e.g., the $COP/testdata/registerrequest.json:
{
"id": "User1",
"type": "client",
"group": "bank_a",
"attrs": [{"name":"AttributeName","value":"AttributeValue"}]
}
$ docker run -it --rm yeasy/hyperledger-fabric-ca ca client register ../testdata/registerrequest.json http://localhost:8888
$ docker run -it --rm yeasy/hyperledger-fabric-ca make tests
Login into the container and execute cmd as you like.
$ docker run -it --rm yeasy/hyperledger-fabric-ca bash
More usage, please refer to https://github.com/hyperledger/fabric-ca.
The image is built based on golang base image.
Install and build fabric-ca as $COP/bin/ca.
This image is officially supported on Docker version 1.7.0+.
Support for older versions (down to 1.0) is provided on a best-effort basis.
- N/A.
Be sure to familiarize yourself with the repository's README.md
file before attempting a pull request.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You can also reach many of the official image maintainers via the email.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.