benbjohnson / litestream

Streaming replication for SQLite.

Home Page:https://litestream.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Docker] Error using the official image

Guikingone opened this issue Β· comments

Hi πŸ‘‹πŸ»

I might be the only one to face this issue but when using the Docker image, the following error occurs:

docker run -v ... -v litestream.yml:/etc/litestream.yml litestream/litestream replicate # the data volume is omitted just for this code block

read /etc/litestream.yml: is a directory

It seems that even when the file is shared, Litestream does not consider it as a file πŸ€”

Thanks again for the feedback and have a great day πŸ™‚

I think your problem is that you need to have path to the source file, otherwise Docker creates a volume. If it's a local file try -v ./litestream.yml:/etc/litestream.yml.

Yes, sorry for the issue, it was related to the local file path passed to Docker πŸ˜…

Thanks for the help πŸ™‚