Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with installing Docker image #88

Open
lilpetamoix opened this issue Aug 26, 2024 · 1 comment
Open

Issues with installing Docker image #88

lilpetamoix opened this issue Aug 26, 2024 · 1 comment

Comments

@lilpetamoix
Copy link

Hello, I'm having issues with installing the docker image in Synology.

I ran the following command in Synology.

docker run --mount type=bind,src="/volume1/homes/Docker/livestream_saver/config",target="/root/.config/livestream_saver" --mount type=volume,src="downloads",target="/volume1/homes/Docker/livestream_saver/downloads" glubsy/livestream_saver:0.2.0

The error I get is below.

livestream_saver.py: error: argument sub-command: invalid choice: '/bin/sh' (choose from 'monitor', 'download', 'merge', 'test-notification')

The container does get installed; however, when I try to run it, it shuts down with the same error message above.

Any help would be greatly appreciated.

@glubsy
Copy link
Owner

glubsy commented Sep 1, 2024

As mentioned in the Readme, you have to specify the mode you wish to run and the section of the config file you want to use.
In your case you would have to append monitor -s <section_name> to your docker run command.

I have updated the docker hub page accordingly just now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@glubsy @lilpetamoix and others