Skip to content

Unable to mount volume for persistent installation #497

Closed Answered by Haarolean
bronandrews asked this question in Q&A
Discussion options

You must be logged in to vote

This is not an app bug, but rather an issue with docker setup.

volumes: - /config.yml:/etc/kafkaui/dynamic_config.yaml
this means that the file is located at your FS root directory, which I doubt is true.

both files in same directory.
if that's the case, the path should be ./config.yml, rather than /config.yml.
To validate that the file exists in the container, run:

$  docker run --rm -it --entrypoint /bin/sh ghcr.io/kafbat/kafka-ui:latest
/ $ cd /tmp/
/tmp $ touch test.txt
/tmp $ test -f test.txt && echo $?
0
/tmp $ test -f test1.txt && echo $?
/tmp $

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bronandrews
Comment options

Answer selected by Haarolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type/bug Something isn't working status/triage/manual Manual triage in progress status/triage/completed Automatic triage completed
2 participants
Converted from issue

This discussion was converted from issue #492 on July 24, 2024 07:35.