亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

docker port 報錯
迷茫
迷茫 2017-04-21 10:55:39
0
4
819

使用 “docker port 容器id 容器port” 映射容器的端口時,系統(tǒng)報錯如下:

*[root@DockerServer ~]# docker port e7d817698b6f 80
2014/04/06 16:08:07 Error: No public port '80' published for e7d817698b6f

這是什么原因,大家有知道的嗎?

迷茫
迷茫

業(yè)精于勤,荒于嬉;行成于思,毀于隨。

reply all(4)
伊謝爾倫

Is the container port not EXPOSE beforehand?

PHPzhong

Expose the port first.

劉奇

The permissions are not enough. sudo docker port e7d817698b6f 80. Test or change to another port number (>1024)

Ty80
  1. Specify the port to EXPOSE when creating.
  2. Specify when startingPublishAllPort = true
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template