Docker Community Forums

Share and learn in the Docker community.

Docker: Error response from daemon. Newbie here. Please help me! Urgent!

I am a total newbie at Docker. I need to get an email server image for a school project, and I have decided to use IRedMail. I pulled the image from
and I tried running the command below:

docker run --privileged -p 80:80 -p 443:443 \
           -e "" -e "HOSTNAME=mail" \
           -e "MYSQL_ROOT_PASSWORD=password" \
           -e "SOGO_WORKERS=1" \
           -e "TIMEZONE=Europe/Prague" \
           -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

but I got this error:

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.

Can anyone help me please? I am running in Docker version 18.06.1-ce on Ubuntu 18.04.3.

check and see if PATH has a : in it. i have a similar problem using jenkins.