Docker containers stops when log off from windows server session

Morning,

I didn’t find any fix for this problem and I hope some of you have any information.
I have a website running from a docker-compose command. Everything runs fine while I have my windows session open, but as soon as I log off, my containers stop too (so my external site). I already exchanged some emails with Docker support, but until this moment, I have no fix for this problem.

Thanks,

Gianni

If you are on Windows Server, you should use Windows containers or run a virtual machine in which you run Docker containers on Linux. Docker Desktop is not supported on Windows Server officially (this is a quite frequent question recently) and Docker Desktop was not designed to run as a server when you log off.

@rimelek thank you very much for the answer.

Gianni