Access Docker forwarded port on Mac

前端 未结 2 490
故里飘歌
故里飘歌 2021-01-06 05:53

There is a related post here: Port mapping in Docker on Mac OSX installed with Docker Toolbox

but it didn\'t work for me

Get ports for container

2条回答
  •  没有蜡笔的小新
    2021-01-06 06:30

    Omg, desired service started on 127.0.0.1 in container, that is why it wasn't visible from outside world. I've modified service config to start on 0.0.0.0 and now I can access forwarded container port

提交回复
热议问题