Cannot access published ports

I am using native docker with hyper-v on windows 10.
Running a container built from windows IIS image.

Created the instance with
docker --rm -d -p 8888:80 -name console [image name]

Got the container IP from docker container inspect,
But the port is not available from the host. I cannot browse to http://ip:8888/

docker version: 19.03.5