Hi Moishy, I think you simply mixed up the arguments.
Arguments that come after the container name will be passet to the running container, arguments that come before will be passed to the docker daemon. For example: >> https://docs.docker.com/engine/reference/run/ You want to pass your arguments to the docker daemon, as it is the docker daemon that will: publish the ports and mount the volume(s), so if you change your command to: > docker run --name basexhttp --publish 8984:8984 --volume > "$HOME/basex/data":/srv/basex/data basex/basexhttp:latest It should work as intended :-) Best Michael > Am 22.10.2020 um 00:37 schrieb Moishy Uminer <moshedumi...@gmail.com>: > > Hi, I downloaded the basex/basexhttp docker image, and upon running docker > run --name basexhttp basex/basexhttp:latest --publish 8984:8984 --volume > "$HOME/basex/data":/srv/basex/data I received the following error message: > /usr/local/bin/mvn-entrypoint.sh: exec: line 50: illegal option -- after > which the container exits. > > Did I do something wrong (in which case I'll be happy to hear of my error), > or is this a bug (in which case I'd appreciate it if this were fixed). > > Thanks in advance!