docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.87k stars 291 forks source link

xrdp has stopped working inside Docker #13216

Open danchitnis opened 1 year ago

danchitnis commented 1 year ago

Actual behavior

Hello, I just updated to the latest version of docker, and my container-xrdp has stopped working. The same goes for urdxp. These containers have been working for some years now. The error seems that xrdp cannot open or listen to the port inside docker. I was initially unsure where the error was originating from, so I created an issue in here since I thought it might be related to AF_VSOCK. The error seems to be a port binding failure.

Expected behavior

Port 33890 should be open and accessible via RDP.

Information

Output of & "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check

Steps to reproduce the behaviour

docker run -it -p 33890:3389 danchitnis/xrdp:ubuntu-xfce foo bar yes

hainghia commented 1 year ago

I got the same error for PostgresQL on Docker: 4.17.0

lngr commented 1 year ago

The problem persists with 4.18.0 and Postgres, ad mentioned in #13229

estebandlp commented 1 year ago

I had the same issue with Postgres.

The problem in my case was I had the Postgres Server running on Windows.

Go to Service Management, and stop that service!

I hope that helps.

lngr commented 1 year ago

Port bindings on the host should not interfere with port bindings of containers.