rdmorganiser / rdmo-docker-compose

RDMO running in different docker images held together by docker compose
Apache License 2.0
3 stars 13 forks source link

Fixed permission error. No sudo for Docker group. #3

Closed kaibutsu closed 5 years ago

kaibutsu commented 5 years ago

When we tried to install RDMO on a VM with multiple users, we weren't able to populate the "vol/" directory because it was created under a different user id. This doesn't pose a problem, when the vm's user id and the docker user id (1000) are equal. We added the user id as an argument to the dockerfiles. Also in our installation, the user running docker-compose was part of the "docker" group so no sudo was needed. We added an option for the makefile to not use sudo when this is the case.