Config path of docker container can't be mapped
See original GitHub issueIf I want to run verdaccio on my unraid server, I can’t map the folders /config/
to a host folder. If I want to map them, the container won’t start. There are no logs.
The same occurs when I want to start the start the container on my Windows 10 system with WSL2 by following command:
docker run -it --rm --name verdaccio -p 4873:4873 -v C:\temp\verdaccio\conf:/verdaccio/conf -v C:\temp\verdaccio\storage:/verdaccio/storage -v C:\temp\verdaccio\plugins:/verdaccio/plugins verdaccio/verdaccio
If I run the container without the port mapping, it starts flawlessly by this command:
docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio
The container should start with mapped /config/
folder.
Unfortunatly there is currently nothing more I could share with you.
I guess there is something strange with the permissions itself. IMHO there are missing permission mappings for the /config
at this line:
https://github.com/verdaccio/verdaccio/blob/b02dab1c2f8fc9c2e7cafe6510535ff491a7b1aa/Dockerfile#L44
Unfortunatly I’m not that docker expert to debug this.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:35 (13 by maintainers)
Top GitHub Comments
@juanpicado You can consider this a closed. Thank you for your patience and assistance 😃
Just created a PR. It’s my first contribution ever, so don’t be so hard with me.