Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
1.0.1
-
None
-
None
-
ubuntu 14.04 LTS
mesos 1.0.1
Description
we implement a scheduler to launch a batch of data process worker in docker container, we use network: host and assign random picked port for the process worker and encounter a port collision problem:
the port we choose for the container was taken by the mesos-docker-container.
mesos-agent resource config:
{"name":"ports","type":"RANGES","ranges":{"range": [
]}}]
root@xs35:lsof -i:31981
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mesos-doc 2835 root 8u IPv4 433237650 0t0 TCP 10.34.38.30:31981 (LISTEN)
the port was taken by mesos-docker-executor and the framework still offer port resource 31981
is there a way to set mesos-docker-executors port range?