scottyhardy / docker-remote-desktop

Docker image for Remote Desktop server with audio support
MIT License
242 stars 123 forks source link

Not able to map the home folder inside the container to a folder outside. #23

Open jvanlangen opened 2 years ago

jvanlangen commented 2 years ago

Hi,

I'm not able to map the home folder inside the container to a folder outside. When I start it with the "-v /host/bla/bla:/home/ubuntu", i'm not able to login with RDP anymore, it hangs on logging in.

jvanlangen commented 2 years ago

A, the problem is, when starting the image, it will add a user 'ubuntu', but the volume mapping already created that folder. So adding the users fails, because it won't use the existing folder.

So it would be great if, instead of adding the user only when the folder doesn't exists, it would be possible to use an existing home folder.