How to specify version of docker image to be used when running hyperledger fabric?

By default Fabric will use the version tagged latest. To use another version (known as image_tag in docker parlance) edit the docker-compose.yaml like so

image:hyperledger/fabric-ca-tools:1.3.0

above will tell docker to use the image tagged 1.3.0

see:

https://stackoverflow.com/questions/33816456/how-to-tag-docker-image-with-docker-compose

https://docs.docker.com/compose/compose-file/#image

This entry was posted in Software. Bookmark the permalink.

Leave a comment