Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error response from daemon: create PATH/mysql #35

Open
oadnarong opened this issue May 4, 2018 · 14 comments
Open

Error response from daemon: create PATH/mysql #35

oadnarong opened this issue May 4, 2018 · 14 comments

Comments

@oadnarong
Copy link

oadnarong commented May 4, 2018

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

@hakula007
Copy link

same issue, anyone know how to fix it?

@lejmr
Copy link
Owner

lejmr commented Jun 9, 2018

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!

@jmbertolotti
Copy link

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
Copy link
Owner

lejmr commented Sep 28, 2018

What version of docker you have?

@malutanpetronel
Copy link

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 ?

@malutanpetronel
Copy link

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

@malutanpetronel
Copy link

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

@Naolador
Copy link

Naolador commented Jan 21, 2019

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

@weiyuchen
Copy link

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

@jodurpar
Copy link

same problem, any idea ?

@LeonardoNve
Copy link

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

@Flare183
Copy link

Flare183 commented Dec 13, 2019

Same here

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

@lejmr
Copy link
Owner

lejmr commented Jan 13, 2020

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

@Darkknight33
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests