Docker containers work on Linux but not on Windows (502 Bad Gateway)

My docker containers work great on my Linux server but not when run on Windows!
These are the two errors I get only on Windows:

2020/10/14 13:24:18 [error] 29#29: *1 upstream prematurely closed connection while reading response header from upstream, client: 172.20.0.1, server: , request: “GET / HTTP/1.1”, upstream: 172.20.0.3:6060, host: “127.0.0.1:1337”

2020/10/14 13:24:18 [error] 29#29: *1 no live upstreams while connecting to upstream, client: 172.20.0.1, server: , request: “GET /favicon.ico HTTP/1.1”, upstream: “http://pb_django/favicon.ico”, host: “127.0.0.1:1337”, referrer: “127.0.0.1:1337/”
172.20.0.1 - - [14/Oct/2020:13:24:18 +0000] “GET /favicon.ico HTTP/1.1” 502 559 “127.0.0.1:1337/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36” “-”

I have posted all my relevant details here

I’ve also tried saving the images that run successfully from Linux and loading them and running them on Windows. Still no joy. See here.

Any help would be greatly appreciated.