Expected behavior
I expected that docker started the containers I defined in my docker-compose.yml.
Actual behavior
docker-compose responds with:
ERROR: for asterisk Bad response from Docker engine
ERROR: Encountered errors while bringing up the project.
Afterwards my docker beta for mac is broken and stays in “starting” phase. I have to reset the installation to be able to start it again.
Information
Diagnose output:
Docker for Mac: version: mac-v1.12.0-beta16.2
OS X: version 10.11.5 (build: 15F34)
logs: /tmp/20160620-104752.tar.gz
failure: docker ps failed: Failure(“docker ps: timeout after 10.00s”)
[ERROR] docker-cli
docker ps failed
[OK] app
[OK] menubar
[OK] virtualization
[OK] system
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux
docker-compose.yml:
version: ‘2’
services:
asterisk:
image: cleardevice/docker-cert-asterisk13-ubuntu
restart: always
privileged: true
ports:
- “5038:5038”
- “5060:5060”
- “5060:5060/udp”
- “10000-10500:10000-10500/udp”
volumes:
- …/…/tmp:/etc/asterisk
mysql:
restart: always
image: mysql
ports:
- “3306:3306”
Steps to reproduce the behavior
- Save the example docker-compose.yml
- Run docker-compose up -d
Diagnostic id: 1744DD80-B216-48E6-9FA7-10C0D5B7FE53