博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【Docker】mesos如何修改hostport默认端口范围?
阅读量:4956 次
发布时间:2019-06-12

本文共 525 字,大约阅读时间需要 1 分钟。

1、marathon文档:

Static port mapping:

It's also possible to specify non-zero host ports. When doing this you must ensure that the target ports are included in some resource offers! The Mesos slave announces port resources in the range [31000-32000] by default. This can be overridden; for example to also expose ports in the range [8000-9000]:

--resources="ports(*):[8000-9000, 31000-32000]"

See the  documentation for more details on how Docker handles networking.

 

2、mesos文档:

 

 

转载于:https://www.cnblogs.com/junneyang/p/5369065.html

你可能感兴趣的文章