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!
Hi Moishy,
The docker integration of BaseX is something we eventually need to look at again. I haven’t used it by myself, but could you please check the following links and keep us stay tuned?
https://docs.basex.org/wiki/Docker https://devops.stackexchange.com/questions/12338/cannot-get-bash-prompt-erro... https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg13049.htm...
Best, Christian
On Thu, Oct 22, 2020 at 12:37 AM Moishy Uminer mosheduminer@gmail.com wrote:
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!
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:
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 mosheduminer@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!
basex-talk@mailman.uni-konstanz.de