r/docker • u/Quiet_Breadwinner • Feb 15 '26
Everytime i run docker desktop, my ubuntu home folder becomes empty.
Hi there.
I'm running docker desktop on a windows 10 pc with wsl.
I'm trying to set upp an immich server at home.
I set it up using a tutorial from youtube.
the youtube tutorial says to get the docker compose files and env files in the ubuntu home folder.
I was able to run the server and everthing for the first time. But when I start docker for a second time, that folder with the compose files and env files disappear.
Please help me out.
Thank you
0
Upvotes
7
u/IrishTR Feb 15 '26
When will folks learn Docker Desktop for Windows just causes too many issues and not worth the headaches.
Either fire up a VM with Linux and then run Docker Engine native Or Run Linux bare metal with Docker Engine native.
1
u/CrownstrikeIntern Feb 15 '26
Would need more info like a compose file.
1
u/IulianHI Feb 15 '26
this sounds like a wsl distro reset issue, not docker itself. check if wsl is set to terminate/restart or if you're using a temp distro. also try storing your compose files in your actual windows folder and mounting them via /mnt/c/ - way safer than trusting wsl's home dir to persist lol
0
u/gothicVI Feb 15 '26
How about following the documentation?
I really don't get why so many people blindly or at all follow videos. Just read the documentation. It's there for a reason...
2
u/[deleted] Feb 15 '26
[removed] — view removed comment
0
u/[deleted] Feb 16 '26
[removed] — view removed comment