Skip to content
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

Windows Problem with Docker Volume of Postgres #2

Closed
YazeedAlKhalaf opened this issue Apr 18, 2020 · 2 comments
Closed

Windows Problem with Docker Volume of Postgres #2

YazeedAlKhalaf opened this issue Apr 18, 2020 · 2 comments

Comments

@YazeedAlKhalaf
Copy link

YazeedAlKhalaf commented Apr 18, 2020

So on line 7 from the docker-compose file it says: - ./docker-data/db-data:/var/lib/postgresql/data
 This works fine on my Mac but does not on Windows.
 It complains about chmod (probably because docker is a different user?)
 It is not something new perse (see docker-library/postgres#435) and there are many other issue's on git about it.
Being new myself to Docker i tried some stuff but i could not figure it out.
 I hope you could tell me how to achieve the same on Windows so I could follow. ☺️

I have a windows 10 Home edition, I know you might say that it doesn’t work on windows 10 Home but it does indeed. You just have to get the Windows 10 Home Version 2004 and it will work! I have tried it and it works without volumes but when I map volumes it starts complaining about chmod thing! 💔

Hope you can help me, and I don’t have a Mac in hand to work on so my only choice is have it work on windows. 💔☺️

@w3cj
Copy link
Member

w3cj commented Apr 19, 2020

Maybe something from this thread can help? docker/compose#4303
Let me know if anything works! Also there's already another issue open here, so lets continue the conversation there: #1

@w3cj w3cj closed this as completed Apr 19, 2020
@YazeedAlKhalaf
Copy link
Author

YazeedAlKhalaf commented Apr 19, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants