mesosphere-backup / deimos

Mesos containerizer hooks for Docker
Apache License 2.0
249 stars 26 forks source link

-p option doesn't work as documented #42

Closed ssk2 closed 10 years ago

ssk2 commented 10 years ago

As per the README, I tried launching a container running a service with a port mapping like this, passing the option through as two separate list elements:

  "container": {
    "image": "docker:///libmesos/ubuntu",
    "options" : ["-p", "8090:8080"]
    },
... snipped

This causes Deimos to fail to launch the container. Merging the items works though!

  "container": {
    "image": "docker:///libmesos/ubuntu",
    "options" : ["-p 8090:8080"]
    },
... snipped
ssk2 commented 10 years ago

Hm, actually, it seems the former does work - it's just a case of that port not being able to be bound.