Actual behavior
Docker crashes (whale icon goes to yellow “Docker is starting…”).
Crashes every time (100%) when I docker-compose up on the file included in this post.
E.g.:
Creating logs-proxy
Creating local-app1
ERROR: for local-app1 Bad response from Docker engine
ERROR: Encountered errors while bringing up the project.
Information
Diagnose info:
Docker for Mac: version: mac-v1.12.0-beta20
OS X: version 10.11.5 (build: 15F34)
logs: /tmp/20160720-190404.tar.gz
[OK] docker-cli
[OK] app
[OK] moby-syslog
[OK] virtualization
[OK] menubar
[OK] system
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux
- Diagnostic ID: 9CAC4016-07C7-47AB-96AF-0B81F345D43E
- OS X 10.11.5
- Reset to factory default was attempted. It did not change anything.
Steps to reproduce the behavior
100% reproducible on my machine with the following anonymized docker-compose.yml.
docker-compose up:
version: '2'
services:
local-app1:
container_name: local-app1
image: ubuntu
ports:
- "10011:10011"
networks:
- default
logging:
driver: syslog
options:
syslog-address: "tcp://127.0.0.1:10514"
tag: "app1"
depends_on:
- logs-proxy
local-app2:
container_name: local-app2
image: ubuntu
ports:
- "10010:10010"
networks:
- default
logging:
driver: syslog
options:
syslog-address: "tcp://127.0.0.1:10514"
tag: "app2"
depends_on:
- logs-proxy
- local-app1
infra-router:
container_name: infra-router
image: ubuntu
environment:
ACCESS_LOG: 'syslog:server=logs-proxy:10514,tag=router_access,severity=info'
ERROR_LOG: 'syslog:server=logs-proxy,tag=router_errors'
ports:
- "1080:80"
networks:
- default
logging:
driver: syslog
options:
syslog-address: "tcp://127.0.0.1:10514"
tag: "router"
depends_on:
- logs-proxy
- local-app2
logs-proxy:
container_name: logs-proxy
image: aleveille/logs-proxy
expose:
- "10514"
networks:
- default
networks:
default: