Expected behavior
Container is booted successfully while my local apache runs. It happens when my local apache is also running and using the same ports as the container (80 & 443)
Actual behavior
Starting db_1 Recreating web_1 ERROR: for web driver failed programming external connectivity on endpoint web_1 (3024c21b23bbfa26563d1a67f8ef892ce32f0383a79f5175a27d4c00e3a93766): Error starting userland proxy: Failed to bind: EADDRINUSE Traceback (most recent call last): File "<string>", line 3, in <module> File "compose/cli/main.py", line 63, in main AttributeError: 'ProjectErr
Information
pinata diagnose -u
OS X: version 10.11.3 (build: 15D21) Docker.app: version v1.11.1-beta12 Running diagnostic tests: [OK] Moby booted [OK] driver.amd64-linux [OK] vmnetd [OK] osxfs [OK] db [OK] slirp [OK] menubar [OK] environment [OK] Docker [OK] VT-x Docker logs are being collected into /tmp/20160520-085720.tar.gz Most specific failure is: No error was detected Your unique id is: 06AD3F1F-EE7D-494B-AA87-BC20D78F447F Please quote this in all correspondence.
docker-compose.yml
version: '2' services: db: image: quay.io/xxx/docker-database-cluster:v2.8 environment: CLUSTER_NAME: xxx-xxx SSTUSER_PASSWD: xxx CLUSTER: xxx ROOTPASSWD: xxx volumes: - data:/var/lib/mysql ports: - "3306:3306" web: image: quay.io/xxx/docker-xxx:v0.3.33 ports: - "80:80" - "443:443" links: - db volumes: - .:/home/app/myapp/xxx-xxx - ./ssl:/secrets/xxx/ - bundle:/home/app/myapp/bundle environment: DB_HOST_NAME: db DB_USER: root DB_PASSWORD: dockercompose PASSENGER_APP_ENV: development PING_SERVER: https://xxx.net HTTP_AUTH: 'xxx_xxx@xxxx' volumes: bundle: {} data: {}
Steps to reproduce the behavior
- Start apache (or another service) that uses the same port as as the machine
- Start the container that has the same ports used for forwarding
More info
When in stop apache the container starts successfully. When using the brew version of Docker it works correct.