vimagick / dockerfiles

:whale: A curated list of delicious docker recipes 🇺🇦🇮🇱 (Let's Fight Against ************)

Home Page:https://hub.docker.com/u/vimagick/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tiddlywiki doesn't init

avks opened this issue · comments

Hi,
I am trying to use this docker-compose.yml to run tiddlywiki. The contents of my docker-compose.yml is the exact same as the one linked. In the same directory, here's what happened:

# docker-compose run --rm tiddlywiki . --init server
Error: malformed named parameter: '.'

I am clueless as to why this is not working. I replaced the dot with data (an actual directory inside the current directory), also with ./data but the error is exactly the same.
Tiddlywiki's initCommand page specifies that --init is followed by edition and the directory location before --init. So there should be no problem with that.

Here's system:

# uname -a
Linux hostname 5.3.0-1024 #26~18.04.1-Ubuntu SMP Sat Jun 6 00:41:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
# docker -v
Docker version 19.03.12, build 48a66213fe
# docker-compose -v
docker-compose version 1.26.0, build d4451659

Does anyone have any idea what's going on?

Looks like I needed to override the default entrypoint. Created a pull request as well.