Running both windows and linux containers on Windows server 2022

I have a need to run both windows and linux containers to achieve some integration testing capabilities. Windows containers must access linux containers via TCP. On Windows 10 with Docker Desktop I got it working: there are linux and windows contexts available, with docker network created manually and firewall rule to allow all inbound traffic on that virtual interface IP windows containers can access linux via host (for example host.docker.internal:1433).

On windows server I have installed Docker CE (only windows context), then another docker installation in WSL, exposed daemon on tcp and created linux context from window side. Context can be switched, linux and windows containers runs. However network behaves differently. Created network (in windows context) does not appear in network adapters page as it does on windows 10 and even with IP retrieved using ipconfig and firewall rule configured, windows containers cannot access linux container via host.

Any suggestions?

It is even impossible to access container using host IP in docker network (nat for example). Accessing that container using localhost or physical network card’s IP works fine. Problem only appears when using IP of network adapter that docker created. Firewall is off.