Giter Club home page Giter Club logo

docker-swarm-sdk's People

Contributors

dpattmann avatar elthariel avatar mikejmoore avatar mmoore1915 avatar

Stargazers

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

Watchers

 avatar  avatar

docker-swarm-sdk's Issues

Support for events

In docker-api I could do:

Docker::Event.stream { |event| puts event }

It would be great to have the same functionality but with Swarm Events.

Thanks in advance!

Is this repository dead/unmaintained?

Hello,

Is this repository/code not maintained anymore?

I noticed that quite a few issues or PRs are unanswered since a few years...

Thanks for your answer in advance.

create_network_overlay fails because node.networks is broken

Using the following code:

swarm.nodes.each do |node|
  p node.networks
end

It will fail with the following error:

RuntimeError at ... No connection set for node: ...
lib/docker/swarm/node.rb in networks
148. raise "No connection set for node: #{self.host_name}, ID: #{self.id}"

Unable to run tests on OSX

% bundle exec rspec
    Sorry, you can't use byebug without Readline. To solve this, you need to
    rebuild Ruby with Readline support. If using Ubuntu, try `sudo apt-get
    install libreadline-dev` and then reinstall your Ruby.

Readline is installed.

service restart not incrementing counter

Hi,

I discovered after after some fight with the docker api, that in order to actually force the update of a service, the ForceUpdate flag must actually change, not only be set to 1.

They describe it as a counter, not as a flag. So the current implementation of restart can only be used once, after that the ForceUpdate counter in the service spec (as reported by docker service inspect will be set to 1 and the restart won't work.

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.