Docker Desktop Port ‘Not bound’

One9twO
Nov 10, 2022

--

This turns out to be my command line error. The arguments of docker run need to follow the right order.

i.e.

This will ignore the port mapping:

docker run 09dad155f3cc -d -p 8080:8080/tcp

and this will work as expected:

docker run -p 8080:8080/tcp 09dad155f3cc -d

--

--