docker version 17.03.3 ce
docker-compose 1.22.0
docker-compose yaml version 2.2
----------
version: '2.2'
networks:
extnetwork:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.19.0.0/16
gateway: 172.19.0.1
services:
ca.org1.example.com:
image: hyperledger/fabric-ca
container_name: ca_peerOrg1
networks:
extnetwork:
ipv4_address: 172.19.0.2