Giter VIP home page Giter VIP logo

docker-client's People

Contributors

donpdonp avatar geku avatar vito avatar

Stargazers

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

Watchers

 avatar  avatar

docker-client's Issues

running tests fails on clean checkout

Is there a way to generated the required 'vcr' files?

$ git clone docker-client
$ bundle install --path gems --binstubs
$ bin/rspec
  1) Docker::Connection returns a stream
     Failure/Error: response = subject.stream("/containers/#{id}/attach", params, timeout, {}) do |data|
     VCR::Errors::UnhandledHTTPRequestError:


       ================================================================================
       An HTTP request has been made that VCR does not know how to handle:
         POST http://10.0.5.5:4243/containers/c27ea9b11da9/attach?stdout=1&stream=1

crashes when included in rails

I added this gem to the Gemfile, Bundled, and Rails currently crashes when I attempt to require 'docker'

The crash is trace trap rails s with no error or relevant log lines.

error handling on Container#show

Calling docker.containers.show(id) on a non-existant container tries to parse the non-json response from docker. I've filed a bug with the docker project to always return json with an error status. Until then it'd be great if docker-client noticed the non-json error responses and returned something sane.

MultiJson::LoadError (795: unexpected token at 'No such container: 7ff996a98fb3
'):

curl partial file error

This might be a problem with my setup, but I wanted to log it here in case its related to this gem's use of curl. About half the time, commands sent from the rails host to the docker host will fail with

PartialFileError: #<Curl::Err::PartialFileError: Curl::Err::PartialFileError>

The two hosts are on the same ethernet switch so no Internet connectivity problems there. I'd be interested to hear if others have run into this. thanks!

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.