Installing Docker and Docker Compose

To test your smart contract, sometimes no development environment may be available, as is the case with the Oracle cloud, for example. To test the validity of your chaincode and test the deployment, however, you can always run a development environment locally.

To be able to do so, you need to install the docker-ce (version 17.03+) and docker-compose utilities, as Hyperledger Fabric runs on several Docker images. If you are installing docker setup on a new host machine you need to set up the Docker repository first. The instructions can be found here: https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository. During the set up cURL is used for the first time.

To install Docker, enter ...

Get Blockchain across Oracle now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.