benbjohnson/litestream

[Docker] Error using the official image

Guikingone opened this issue ยท 2 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 ๐Ÿ™‚

hifi commented

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 ๐Ÿ™‚