Giter Club home page Giter Club logo

Comments (7)

MikeMichel avatar MikeMichel commented on July 25, 2024

Hi,

try

{
  "container": {
    "image": "docker:///libmesos/ubuntu",
    "options": ["--privileged=false"]
  },
  "id": "ubuntu",
  "instances": "1",
  "cpus": ".5",
  "mem": "300",
  "uris": [ ],
  "cmd": "sleep 500"
}

Mike

from deimos.

jplock avatar jplock commented on July 25, 2024

That worked, and --privileged=true worked, but I don't have the privileged option at all, the container never starts up.

from deimos.

solidsnack avatar solidsnack commented on July 25, 2024

Wow, never seen this one before. Is Deimos configured to use the UNIX socket or the TCP socket to talk to Docker?

from deimos.

jplock avatar jplock commented on July 25, 2024

I've removed any special startup configuration on docker, so by default, I believe it just listens on the socket and not TCP. I'll keep playing around with it to see if I can figure out what's going on.

I installed mesos from the mesosphere APT repo and installed deimos 0.3.2 from pip.

from deimos.

jplock avatar jplock commented on July 25, 2024

I've put up some files I'm testing with in https://gist.github.com/jplock/b80a3979d590b041fc4c

I'm able to start up ubuntu-true.json and ubuntu-false.json fine, but ubuntu-missing.json never starts up.

I'm launching the by executing:

curl -X POST -H "Content-Type: application/json" -d @ubuntu-true.json localhost:8080/v2/apps

from deimos.

solidsnack avatar solidsnack commented on July 25, 2024

This appears to be a serialization bug in Marathon. The following JSON works:

{
  "container": {
    "image": "docker:///libmesos/ubuntu",
    "options": []
  },
  "id": "ubuntu-missing",
  "instances": "1",
  "cpus": ".5",
  "mem": "300",
  "uris": [ ],
  "cmd": "sleep 500"
}

from deimos.

j1n6 avatar j1n6 commented on July 25, 2024

Is there a followup bug fix in Marathon? or somewhere I can track this issue in Marathon?

from deimos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.