When trying to map a port with Docker on colima, the map works, but the port is not open for listening on MacOS
You may end here if you went through this or this other questions and still stuck.
For:
- OSX
- Using colima
- on M1
A docker container exposing a port will not be listening (checked for example with netstat
) even if docker port \<container\>
shows it is.
Example docker run: docker run -p 80:80 -name mycontainer myimage
What is the solution so that the port is listening in the local host?