Docker container permission error #1766
Labels
👶 good first issue
Good for newcomers
🐞 bug
Something isn't working
🐋 docker
Related to Docker code
👋 help wanted
Help wanted!
The gateway docker container (named "core") can't resolve the hostnames of the other helper container (mermaid, excalidraw, bpmn) because of permission errors with the default user.
When starting the container we get following error from the core container (formatted)
Looking at the permission of the file we can see that only root can read that file and the default user (kroki) can't read that file:
root@a8e4ba3069ab:/# ls -la /etc/hosts -rw-r-----+ 1 root root 198 Aug 6 09:17 /etc/hosts
Since the file is not readable by the user running in the docker container, the application can't resolve the hostname of the other docker container.
The text was updated successfully, but these errors were encountered: