Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build is ok, can't start #48

Open
PatchRanger opened this issue Jul 15, 2018 · 0 comments
Open

Build is ok, can't start #48

PatchRanger opened this issue Jul 15, 2018 · 0 comments

Comments

@PatchRanger
Copy link
Contributor

PatchRanger commented Jul 15, 2018

Problem

Running docker-compose build && docker-compose up -d && docker-compose ps, I've got the following errors:

Successfully tagged maxlab/nginx:latest
Removing maxlab_dnsmasq_1
Starting php7console ... 
Starting maxlab_elasticsearch_1          ... error
Starting maxlab_mailcatcher_1   ... 
Starting php7console                     ... done
Starting maxlab_redis_1                  ... 
Starting mysql                           ... 
Starting maxlab_pgsql_1                  ... 
Starting maxlab_redis_1                  ... error
Starting maxlab_mailcatcher_1            ... done
Recreating 881a14f4c282_maxlab_dnsmasq_1 ... error

ERROR: for maxlab_redis_1  Cannot start service redis: driver failed programming external connectivity on endpoint maxlab_redis_1 (022d3a90c941b4dae4fb615bc42d7f48965b9476e55f4e21b141a462e09d96aa): Bind for 0.0.0.0:6379 failed: port is already allocated

ERROR: for 881a14f4c282_maxlab_dnsmasq_1  Cannot start service dnsmasq: driver failed programming external connectivity on endpoint maxlab_Starting mysql                           ... done
Starting maxlab_pgsql_1                  ... done

ERROR: for elasticsearch  Cannot start service elasticsearch: driver failed programming external connectivity on endpoint maxlab_elasticsearch_1 (c09cb5dea79585922466cb3a07dbd3b3fefc4daf4524e94e09d92dd4022e993e): Bind for 0.0.0.0:9200 failed: port is already allocated

ERROR: for redis  Cannot start service redis: driver failed programming external connectivity on endpoint maxlab_redis_1 (022d3a90c941b4dae4fb615bc42d7f48965b9476e55f4e21b141a462e09d96aa): Bind for 0.0.0.0:6379 failed: port is already allocated

ERROR: for dnsmasq  Cannot start service dnsmasq: driver failed programming external connectivity on endpoint maxlab_dnsmasq_1 (06afca8b7bc1c844fb8efdbdfc1ee69667bfe8ebbad753c63f2ff91d8e49f4cd): Error starting userland proxy: listen tcp 0.0.0.0:53: bind: address already in use
ERROR: Encountered errors while bringing up the project.

Reason

My guess is that php7console and php7xdebug are conflicting because of having the same dependencies. I guess, they should share them somehow - not redefining separate docker-dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant