mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-31 13:43:47 +00:00
Update README.md
add some notes regarding permission errors
This commit is contained in:
parent
a2ae0fd5c0
commit
3627f0d091
|
@ -1,3 +1,20 @@
|
||||||
# References
|
# References
|
||||||
|
|
||||||
- https://github.com/RocketChat/Docker.Official.Image
|
- https://github.com/RocketChat/Docker.Official.Image
|
||||||
|
|
||||||
|
# Notes
|
||||||
|
|
||||||
|
The mongodb container will likely throw a permission error when bein started for the first time.
|
||||||
|
|
||||||
|
````
|
||||||
|
error: 'An error occurred when creating an index for collection "users: getaddrinfo EAI_AGAIN mongodb',
|
||||||
|
reason: undefined,
|
||||||
|
details: undefined,
|
||||||
|
errorType: 'Meteor.Error'
|
||||||
|
````
|
||||||
|
|
||||||
|
Therefore, you have to adjust the permissions of the mongodb volume path. For example with the following command:
|
||||||
|
|
||||||
|
````
|
||||||
|
sudo chmod -R 777 /mnt/docker-volumes/rocketchat
|
||||||
|
````
|
||||||
|
|
Loading…
Reference in New Issue
Block a user