mesos / chronos

Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules
http://mesos.github.io/chronos/
Apache License 2.0
4.38k stars 529 forks source link

Add specific documentation on how to deploy Docker containers #445

Open ssk2 opened 9 years ago

ssk2 commented 9 years ago

Again, similar to https://mesosphere.github.io/marathon/docs/native-docker.html.

Aerlinger commented 9 years ago

+1

Aerlinger commented 9 years ago

@ssk2 There's some useful sample code here: https://github.com/mesosphere/docker-screencasts

DarinJ commented 8 years ago

@ssk2 that's not entirely accurate, in particular it you'd like to pass parameters you'd place the map in container vs docker i.e.: chronos:

"container": {
 "image": "busybox",
 "type": "DOCKER",
 "network": "host",
 "parameters": [
    {"key": "volume", "value": "/tmp"} 
 ]
}

vs mathathon

"container": {
 "type": "DOCKER",
 "docker":{
    "network": "host",
    "image": "busybox",
    "parameters": [
       {"key": "volume", "value": "/tmp"} 
    ]
  }
}

I saw no documentation but you can view what is happening in the code here.

mavdi commented 7 years ago

None of the docker tasks mentioned here https://github.com/mesosphere/docker-screencasts work for me. They fail and I can't figure out what goes wrong.