-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
Hi @sekka1
Firstly, thanks for your article it has helped me get up and running real quick.
I've found an issue when running jobs which need a port open, such as a web server, where it is inaccessible as the port isn't exposed by the mesos slave container.
I tried changing the slave command to expose the range of ports, but I can't get it to work.
Also, I don't know where to find the configured range of ports that mesos (or marathon?) uses, so I guessed at 31000 to 32000.
docker run -d \
--entrypoint="mesos-slave" \
--expose=31000-32000 \
-e "MESOS_MASTER=zk://${HOST_IP}:2181/mesos" \
-e "MESOS_LOG_DIR=/var/log/mesos" \
-e "MESOS_LOGGING_LEVEL=INFO" \
garland/mesosphere-docker-mesos-master:latestThanks
Metadata
Metadata
Assignees
Labels
No labels