Hey @gujiwork,
Try making the following changes:
docker-compose-base.yaml and docker-compose-orderer:
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/orderer
volumes:
- ./config/:/etc/hyperledger/configtx
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/:/etc/hyperledger/msp/orderer
- ./crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/:/etc/hyperledger/msp/peerOrg1
docker-compose-peer0.yaml:
Under cli:
command: /bin/bash
And also, the command you are using to create channel is:
peer channel create -o orderer.example.com:7050 -c mychannel -f ./channel-artifacts/mychannel.tx --tls --cafile $ORDERER_CA
You have mentioned in your question
where the domain name I marked Mosaic
so I am guessing your domain name is not orderer.example.com but you are using orderer.example.com:7050 in your command. Try replacing it with your domain.