Giter Site home page Giter Site logo

dcos-cli-docker's People

Contributors

aalmonte avatar enxebre avatar tayzlor avatar wallies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcos-cli-docker's Issues

bump version

This is awesome. My only issue was that there wasn't the newest version installed in your container, so I had to build from your Dockerfile again and push my own copy. I suspect #2 should resolve this as well, but if you happen to have time to bump the version, that would be fantastic.

ValueError: No JSON object could be decoded

hi,

thanks for the cool image, this is just what i was looking for.

i'm having an issue where i run like:

docker run -it -e MESOS_MASTER_URL=http://my.marathon.url -e MARATHON_URL=http://my.marathon.url -e TOKEN=mytoken -e [email protected] capgemini/dcos-cli marathon app list

and i get:

Updating source [https://github.com/mesosphere/multiverse/archive/master.zip]
Updating source [https://github.com/mesosphere/universe/archive/version-1.x.zip]
Traceback (most recent call last):
  File "/dcos-cli/bin/dcos-marathon", line 11, in <module>
    sys.exit(main())
  File "/dcos-cli/lib/python2.7/site-packages/dcoscli/marathon/main.py", line 115, in main
    return _main()
  File "/dcos-cli/lib/python2.7/site-packages/dcoscli/marathon/main.py", line 128, in _main
    return cmds.execute(_cmds(), args)
  File "/dcos-cli/lib/python2.7/site-packages/dcos/cmds.py", line 43, in execute
    return function(*params)
  File "/dcos-cli/lib/python2.7/site-packages/dcoscli/marathon/main.py", line 360, in _list
    client = marathon.create_client()
  File "/dcos-cli/lib/python2.7/site-packages/dcos/marathon.py", line 27, in create_client
    return Client(marathon_url)
  File "/dcos-cli/lib/python2.7/site-packages/dcos/marathon.py", line 83, in __init__
    version = LooseVersion(self.get_about()["version"])
  File "/dcos-cli/lib/python2.7/site-packages/dcos/marathon.py", line 119, in get_about
    response = http.get(url, to_exception=_to_exception)
  File "/dcos-cli/lib/python2.7/site-packages/dcos/http.py", line 125, in get
    return request('get', url, to_exception=to_exception, **kwargs)
  File "/dcos-cli/lib/python2.7/site-packages/dcos/util.py", line 448, in timer
    return fn(*args, **kwargs)
  File "/dcos-cli/lib/python2.7/site-packages/dcos/http.py", line 97, in request
    raise to_exception(response)
  File "/dcos-cli/lib/python2.7/site-packages/dcos/marathon.py", line 57, in _to_exception
    message = response.json().get('message')
  File "/dcos-cli/lib/python2.7/site-packages/requests/models.py", line 819, in json
    return json.loads(self.text, **kwargs)
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

any idea what i'm doing wrong?

regards,
tony.

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.