I have created a docker images with following dockerfile
ADD simplehttp.go C:/gopath/simplehttp.go
CMD go run simplehttp.go
docker run -p 8081:8081 simplehttp:v1
I could curl to the docker host(which is the VM) 192.168.122.236:8081 from my PC
docker network create -d transparent MyTransparentNetwork
docker run --network=MyTransparentNetwork simplehttp:v1
I could not curl to the container(192.168.122.220:8081) attached to
transparent network however I could ping the container with the
transparent ip(192.168.122.220) from my PC.
I wonder what I could have missed.