Docker Desktop Port ‘Not bound’
Nov 10, 2022
Press enter or click to view image in full size![]()
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/tcpand this will work as expected:
docker run -p 8080:8080/tcp 09dad155f3cc -d