Skip to content

Build is ok, can't start #48

Open
Open
@PatchRanger

Description

@PatchRanger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions