ReadTimeout on starting docker compose
Here is the exception that I got every time I try to start my docker compose:
ERROR: for webdav HTTPConnectionPool(host='192.168.103.98', port=2375): Read timed out. (read timeout=60)
First thing first, it’s not a network issue.
After some investigation, it turns out to be that the volume I am mapping to one of containers just not able to access:
mysql:
restart: unless-stopped
image: "percona:5.7"
ports:
- "23307:3307"
environment:
MYSQL_ROOT_PASSWORD: "developer"
MYSQL_DATABASE: "zapps_amq"
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_USER: zuora
MYSQL_PASSWORD: password
volumes:
- /mnt/zuora/application/billing/docker/infra/mysql/conf:/etc/mysql:ro
- /mnt/zuora/application/billing/docker/infra/mysql/initdb.d:/docker-entrypoint-initdb.d:rw
So it seems that it timeouts when trying to mount the volume. The error message is really mis leading.