M
M
Messi2019-08-22 20:10:49
Docker
Messi, 2019-08-22 20:10:49

Errors about running docker on Windows?

Hello! Tell me, please, I installed Docker on Windows and I'm trying to run it, but I get errors, how can I solve it?
I run the commands:

docker-compose build --no-cache
docker-compose up -d --force-recreate

Error:
Error starting userland proxy: listen tcp 127.0.0.1:80: bind: Only one usage of each socket address (protocol/ network address/port) is normally permitted.
Second error:
Cannot start service rabbitmq: driver failed programming external connectivity on endpoint
docker-compose.yml

version: "3"
services:
  web:
    build: docker/nginx
    ports:
      - 127.0.0.1:80:80


  backend:
    build: .
    volumes:
       - store:/app/storage # comment this line if you need local files share

  worker:
    build: .
    volumes:
       - store:/app/storage

  rabbitmq:
    image: rabbitmq:3.7-management-alpine
    ports:
      -  127.0.0.1:15672:15672
      -  127.0.0.1:5672:5672
    volumes:
      - rabbitmq-data:/var/lib/rabbitmq

volumes:
  store:
  rabbitmq-data:

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question