I\'m starting up a network, which will have 3 peers and an orderer. I have 4 different Virtual Machines, one for each node.
I follow the Getting Started manual for H
The error was an internal error of the Peer. The peer couldn't connect to the orderer. It was because of the default configuration of the Docker containers that you create.
When you create a docker container, you define its network. By default, the containers that you create are locaten inside the bridge network. This networks isolates the containers from other containers that are in other hosts.
I changed this configuration to Host, and I don't get the error. It goes well.
network: byfn
network_mode: host
to each container- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=host
I should read more about docker networks, because there are other posibilities like overlay. I thin that this would be better. Also, I thin that it would be a good idea using docker-machien, but I haven't done it. There is more info about it here.