-
Hello all, unfortunately I have a problem starting the container in interactive mode to be able to do my 2FA authentication. It doesn't seem to find the config.json file despite mounting the appropriate config files and directories.
The config file is created and the path is correct.
Does anyone know a solution? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
You are missing the command parameter (hence the wrong path in the error So I guess that for you it should end up being something like |
Beta Was this translation helpful? Give feedback.
-
Thank you for the quick reply. Been too dumb to read. Unfortunately, however, I then come to the next problem of the container exit directly after the start. I only get the Starting output
|
Beta Was this translation helpful? Give feedback.
You are missing the command parameter (hence the wrong path in the error
No main config found at /config.json
). If you look the readme you'll see acommand: "--settings /usr/src/app/config.json"
in the compose file.So I guess that for you it should end up being something like
docker run -it --mount type=bind,source=/opt/twitch-miner/authentication,target=/usr/src/app/authentication --mount type=bind,source=/opt/twitch-miner/streamers,target=/usr/src/app/streamers --mount type=bind,source=/opt/twitch-miner/config.json,target=/usr/src/app/config.json mrcraftcod/channel-points-miner:latest --settings /usr/src/app/config.json