-
-
Notifications
You must be signed in to change notification settings - Fork 19
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Correct way to mount data #46
Comments
Upon further googling, I'm pretty sure my situations is similar to this: docker/desktop-linux#31 Your image (and many others) read the desired user and group ID as an environment variable and create a new container user based on that. Which totally breaks how the image is set up to work. I'm not sure how this could be fixed, because a lot of functionality in the container is not meant to be executed as |
Based on the above information, I think an approach would be to:
I my existing plugins still don't load after doing the above, but I think this is due to logic of your image, which replaces some folders with the dokuwiki installation upon building. |
I have now opted for a different approach: I create a named volume and mount that into the container. When I want to back up the data, I tar the whole container file tree. I consider this closed by now. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Behaviour
Steps to reproduce this issue
I already have an existing installation of dokuwiki, local on my host.
I want to use the same files to mount them on the container and serve them from there. These files are owned by my personal user with UID/GID=1000
docker-compose.yml
file to mount the volume:PUID
andPGID=1000
in.env
.docker compose up -d --build
Expected behaviour
Actual behaviour
Any pointers, especially in the correct volume mount incantation? Thanks in advance!
Configuration
Docker version (type
docker --version
) : Docker version 20.10.17, build 100c701Docker compose version if applicable (type
docker-compose --version
) : N/A, now usingdocker compose
instead ofdocker-compose
Platform (Debian 9, Ubuntu 18.04, ...) : Ubuntu 22.04
System info (type
uname -a
) : Linux george-ThinkPad-E14-Gen-2 5.15.0-46-generic Add support for php81-dom #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxInclude all necessary configuration files :
docker-compose.yml
,.env
, ...Docker info
Logs
The text was updated successfully, but these errors were encountered: