Re: docker-compose issue 0.0.0.0:7051 failed: port is already allocated'


Anil Singh <anil.singh@...>
 

Could you please provide your  docker-compose-cli.yaml file ?
Please cross check you haven't mapped 7051 to any other container.

Tanks,
Anil

On June 27, 2019 at 7:40 PM dedishchev-av@... wrote:

Dear Colleagues,

I need help. For quite some time I can not solve issue with starting network with the command 
1. docker-compose -f docker-compose-cli.yaml up - d
After starting the command I get an ERROR  0.0.0.0:7051 failed: port is already allocated'
2. After executing commands docker stop $(docker ps -a -q) and killing processes running under ports I launch docker container ls and get the following in the terminal:
Alexanders-MacBook-Pro:first-network alexd$ docker container ls
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
Alexanders-MacBook-Pro:first-network alexd$ docker-compose -f docker-compose-cli.yaml up -d
3. Then I start network again and ERROR 0.0.0.0:7051 failed: port is already allocated' repeats again.
 
I would be very grateful for help.
--
Educational Project
Alexander

 

Join {fabric@lists.hyperledger.org to automatically receive all group messages.