compose: I am having this "Encountered errors while bringing up the project." error

when $ docker-compose up it returns

Starting df33a29fc6ee_df33a29fc6ee_adaptive-admin_mariadb ...
Starting df33a29fc6ee_df33a29fc6ee_adaptive-admin_mariadb ... error

Docker Version

Client:
 Version:      17.07.0-ce
 API version:  1.31
 Go version:   go1.8.3
 Git commit:   8784753
 Built:        Tue Aug 29 17:41:05 2017
 OS/Arch:      windows/amd64

Server:
 Version:      17.09.0-ce
 API version:  1.32 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:45:38 2017
 OS/Arch:      linux/amd64
 Experimental: false

on $ docker-compose --verbose up

compose.parallel.feed_queue: Pending: set([])
Starting df33a29fc6ee_df33a29fc6ee_adaptive-admin_mariadb ... error
compose.parallel.feed_queue: Pending: set([])

ERROR: compose.cli.main.main: Encountered errors while bringing up the project.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20

Most upvoted comments

Does running docker-compose down solve the issue?

try with it:

sudo pkill mysql sudo pkill mysqld docker-compose down docker-compose up

docker-compose down --> worked for me… Thanks

In my case I tried to start a webserver (nginx for let’s encrypt) and got the error:
Bind for 0.0.0.0:80 failed: port is already allocated

The reason was, that another docker project was running nginx (thus the port was really already in use)

Solution was to use docker ps to find the running container/s and stop it/them: docker stop CONTAINER_ID

None of the above worked for me. Environment:

  • Ubuntu 16.04
  • Docker version 18.09.0, build 4d60db4
  • docker-compose version 1.18.0, build 8dd22a9