mangelov95 commented on issue #71: Change default user in the Docker image from 
root to couchdb
URL: https://github.com/apache/couchdb-docker/issues/71#issuecomment-370471032
 
 
   I actually just managed to do this by adding a `USER couchdb` tag after the 
`ENTRYPOINT` in the Dockerfile and also modifying `exec gosu couchdb "$@"` to 
`exec "$@"` in 
https://github.com/apache/couchdb-docker/blob/1f85f08f840e0b7482c61ef2e0ed3fe30c1cf1b0/2.1.1/docker-entrypoint.sh#L71
   
   This successfully modifies the ownership of mounted volume and also sets the 
default user in the container to `couchdb`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to