lejmr/iredmail-docker

Error response from daemon: create PATH/mysql

Opened this issue · 14 comments

Im run docker tag "mysql-0.9.7-latest" and get error log like this

" docker: Error response from daemon: create PATH/mysql: "PATH/mysql" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. "

anyone can fix it?, thx

same issue, anyone know how to fix it?

lejmr commented

That sounds weird. Does this happen even with 0.9.8?

Can you please provide full command, so I can try to reproduce your issue? Thank you!

Same happens to me but for clamav
Full command:docker run --privileged -p 80:80 -p 443:443 -h HOSTNAME.DOMAIN -e "MYSQL_ROOT_PASSWORD=q1w2e3r4" -e "SOGO_WORKERS=1" -e "TZ=America/Argentina/Cordoba" -e "POSTMASTER_PASSWORD={PLAIN}password" -e "IREDAPD_PLUGINS=['reject_null_sender', 'reject_sender_login_mismatch', 'greylisting', 'throttle', 'amavisd_wblist', 'sql_alias_access_policy']" -v PATH/mysql:/var/lib/mysql -v PATH/vmail:/var/vmail -v PATH/clamav:/var/lib/clamav --name=iredmail lejmr/iredmail:mysql-latest
docker: Error response from daemon: create PATH/clamav: "PATH/clamav" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.

Any ideas?

lejmr commented

What version of docker you have?

it worked but no need fort that PATH/MYSQL... simply with /var/lib...
The problem I see now is that

Self checking every 3600 seconds.
...............................Sep 28 16:33:01 78e9dcb96a1d CRON[2165]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
...........................................................Sep 28 16:34:01 78e9dcb96a1d CRON[3175]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
............................................................Sep 28 16:35:01 78e9dcb96a1d CRON[4211]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
............................................................Sep 28 16:36:01 78e9dcb96a1d CRON[5229]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
is not stopping and the install not finish or maybe composer should be run with -d ?

or maybe are some ports not opened on the machine which has a csf firewall

docker version is
Docker version 17.12.1-ce, build 7390fc6

Same problem, I'm using Docker 18.09.1

====Edit===
I managed to fix it. Please check my docker image: docker push naolador/iredmail:latest

same problem, I'm using Docker version 18.06.1-ce

same problem, any idea ?

same problem.
docker --version
Docker version 18.09.1, build 4c52b90

Same here

jesse@sapphire:$ docker --version
Docker version 19.03.3, build a872fc2f86
jesse@sapphire:
$

lejmr commented

Please test version lejmr/iredmail:mysql-1.0-latest

I had this error, but I just replaced PATH with /iredmail/ in the launch command. Works fine.