Skip to content

Fatal Error: Can't read config file #154

Answered by 0xERR0R
Yucked asked this question in Q&A
Discussion options

You must be logged in to vote

You must specify the absolute path for docker volume. Please use this command:
docker run --rm --name blocky -v $(pwd)/config.yml:/app/config.yml -p 4000:4000 -p 55555:55555/udp spx01/blocky

Example config.yml specifies "/logs" directory for logs, so please specify another docker volume for this:
docker run --rm --name blocky -v $(pwd)/config.yml:/app/config.yml -v $(pwd)/logs:/logs -p 4000:4000 -p 55555:55555/udp spx01/blocky

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by 0xERR0R
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #98 on March 01, 2021 07:19.