Trying to spin up a docker container using marathon.
I am using docker 1.8
, marathon 0.11
, mesos 0.23
, boot2docker
Here are how my docker images look like and how they are run
https://gist.github.com/manishrajkarnikar/3dad3cfb149384d080aa
Here is how my marathon post request look like and the logs from mess master and slave
https://gist.github.com/manishrajkarnikar/96d2031e621201d94f7f
Note that in the containers started have "executer" at the end of container name, while mess-slave info log put this warning where it looks like its searching for container without executor at the end of container name and docker inspect is failing causing status of task failed
Failed to get resource statistics for executor 'helloworld.ed922c9d-6ed4-11e5-a8fb-aa13c24df26f' of framework 20151009-222455-1731963072-5050-5-0000: Failed to 'docker inspect mesos-20151009-222455-1731963072-5050-5-S0.79b421f0-2135-437c-b4be-c95dd841ba9a': exit status = exited with status 1 stderr = Error: No such image or container: mesos-20151009-222455-1731963072-5050-5-S0.79b421f0-2135-437c-b4be-c95dd841ba9a
This is causing multiple failed containers and all the tasks are getting status of task_failed
What am I doing wrong??