compose icon indicating copy to clipboard operation
compose copied to clipboard

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

Open amjadharri opened this issue 9 years ago • 20 comments

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.

amjadharri avatar Oct 19 '17 05:10 amjadharri

Does running docker-compose down solve the issue?

shin- avatar Oct 19 '17 19:10 shin-

No, I figured out I have to install composer to solve the issue.

amjadharri avatar Oct 27 '17 07:10 amjadharri

@shin- that command line you wrote there solved my issue!! man.. I searched so many places couldn't get my issue solved, I got say THANK YOU bro!! thanks so much.

dwaynewei avatar Jan 17 '18 06:01 dwaynewei

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

chinmay90kulkarni avatar Mar 13 '18 08:03 chinmay90kulkarni

That works for me. Thank you

javiersantossanchez avatar Oct 24 '18 04:10 javiersantossanchez

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

jemliF avatar Jan 30 '19 13:01 jemliF

some of the time if you forgot to include any package in requirement.txt gives u package oriented failure error.

myselfdesai avatar Jul 25 '19 15:07 myselfdesai

That works for me Thinks!

ningjiabing avatar Aug 05 '19 02:08 ningjiabing

try with it:

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

TaufiqurRahman45 avatar Sep 02 '19 17:09 TaufiqurRahman45

Does running docker-compose down solve the issue?

Thank you this worked for me as well. My dev and prod environments were running correctly but local was giving the error. Running docker-compose -f local.yml down solved the error for me.

aayushgupta97 avatar Apr 12 '20 16:04 aayushgupta97

I encountered an installation issue I don't know how to solve a problem

Creating azuracast_nginx_proxy_1 ... error

ERROR: for azuracast_nginx_proxy_1 Cannot start service nginx_proxy: driver failed programming external connectivity on endpoint azuracast_nginx_proxy_1 (1252b820c80ae8a6f188978baf4f99155feb9430d4330db28c991dfd1f8e96ab): Error starting userland proxy: listen tcp 0.0.0.0:80: listen: address already in use

ERROR: for nginx_proxy Cannot start service nginx_proxy: driver failed programming external connectivity on endpoint azuracast_nginx_proxy_1 (1252b820c80ae8a6f188978baf4f99155feb9430d4330db28c991dfd1f8e96ab): Error starting userland proxy: listen tcp 0.0.0.0:80: listen: address already in use ERROR: Encountered errors while bringing up the project. root@radio:/var/azuracast#

kamalne avatar Jun 02 '20 18:06 kamalne

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

tmtron avatar Jun 03 '20 10:06 tmtron

$ make start Pulling postgres ... done Pulling hydra-migrate ... done Pulling hydra ... done Starting reaction-hydra_postgres_1 ... done Starting reaction-hydra_hydra-migrate_1 ... done Starting reaction-hydra_hydra_1 ... done Pulling mongo ... done Pulling api ... done Starting reaction_mongo_1 ... Starting reaction_mongo_1 ... error

ERROR: for reaction_mongo_1 Cannot start service mongo: driver failed programming external connectivity on endpoint reaction_mongo_1 (5b5f99016cba3d432aab21eb5119446e6b6c47755f36deb371ea579e72a1968d): Error starting userland proxy: listen tcp 0.0.0.0:27017: bind: address already in use

ERROR: for mongo Cannot start service mongo: driver failed programming external connectivity on endpoint reaction_mongo_1 (5b5f99016cba3d432aab21eb5119446e6b6c47755f36deb371ea579e72a1968d): Error starting userland proxy: listen tcp 0.0.0.0:27017: bind: address already in use ERROR: Encountered errors while bringing up the project. make: *** [Makefile:348: start-reaction] Error 1

atul-gautam-au6 avatar Dec 25 '20 06:12 atul-gautam-au6

try with it:

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

I LOVE SO MUCH!

ghost avatar Sep 01 '21 01:09 ghost

I love YOU so much bro thanks! I was having a problem with postgres and I try sudo pkill postgres and docker-compose down and works

ghost avatar Sep 01 '21 01:09 ghost

Hello !,

I got the error like blelow one

Digest: sha256:58132ff3162cf9ecc8e2042c77b2ec46f6024c35e83bda3cabde76437406f8ac
Status: Downloaded newer image for redis:alpine
Creating getground_workspace_1 ... 
Creating getground_workspace_1 ... error
Creating getground_mysql_1     ... 
Creating getground_php-fpm_1   ... 
Creating getground_redis_1     ... 
Creating getground_web_1       ... done
Creating getground_mysql_1     ... done
Creating getground_php-fpm_1   ... done
Creating getground_redis_1     ... done

ERROR: for workspace  Cannot start service workspace: driver failed programming external connectivity on endpoint getground_workspace_1 (e033dd78aefe4217b11055f1ebf424df8f2428c87a14f8a459911eb611c34285): Error starting userland proxy: listen tcp4 0.0.0.0:3000: bind: address already in use
ERROR: Encountered errors while bringing up the project.

I'm using ubuntu 18.04 and docker Version: 20.10.10. can you please suuggest for this issue?

sathishkurichy avatar Oct 30 '21 13:10 sathishkurichy

مرحبا بك بي ما أسعدك

Le sam. 30 oct. 2021 à 14:18, sathishkurichy @.***> a écrit :

Hello !,

I got the error like blelow one

Digest: sha256:58132ff3162cf9ecc8e2042c77b2ec46f6024c35e83bda3cabde76437406f8ac Status: Downloaded newer image for redis:alpine Creating getground_workspace_1 ... Creating getground_workspace_1 ... error Creating getground_mysql_1 ... Creating getground_php-fpm_1 ... Creating getground_redis_1 ... Creating getground_web_1 ... done Creating getground_mysql_1 ... done Creating getground_php-fpm_1 ... done Creating getground_redis_1 ... done

ERROR: for workspace Cannot start service workspace: driver failed programming external connectivity on endpoint getground_workspace_1 (e033dd78aefe4217b11055f1ebf424df8f2428c87a14f8a459911eb611c34285): Error starting userland proxy: listen tcp4 0.0.0.0:3000: bind: address already in use ERROR: Encountered errors while bringing up the project.

I'm using ubuntu 18.04 and docker Version: 20.10.10. can you please suuggest for this issue?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/docker/compose/issues/5286#issuecomment-955208053, or unsubscribe https://github.com/notifications/unsubscribe-auth/APXNIFXRM7AASW3RPLAQRYDUJPWC7ANCNFSM4D723PGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

kamalne avatar Dec 25 '21 16:12 kamalne

Does running docker-compose down solve the issue?

it avoids the issue.

The point with automatic tests is, well... automation.

I have to run docker-compose down after every time I run my test . Clearly I am missing something.

noamzilo avatar Jan 30 '22 11:01 noamzilo

try with it:

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

This worked for me

camilabmc avatar Nov 04 '22 14:11 camilabmc

مرحبا

Le ven. 4 nov. 2022 à 15:58, camilabmc @.***> a écrit :

try with it:

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

This worked for me

— Reply to this email directly, view it on GitHub https://github.com/docker/compose/issues/5286#issuecomment-1303687423, or unsubscribe https://github.com/notifications/unsubscribe-auth/APXNIFRC5R4HL2J23MURCOTWGUQABANCNFSM4D723PGA . You are receiving this because you commented.Message ID: @.***>

kamalne avatar Nov 25 '22 13:11 kamalne