Giter Club home page Giter Club logo

docker-spoon's People

Contributors

adnichols avatar eklein avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-spoon's Issues

Multi-host support

It would be nice to have spoon configured to support multiple docker hosts. Initial implementation I think looks like a config that supports multiple hosts being listed but container names would need to be globally unique. Alternatively, or additionally having a default host that's used but an easy way to specify another host to use for a one-off connection. Allows teams to maintain a master .spoonrc but distribute teams across hosts.

Ability to manage multiple .spoonrc files via symlink

This idea comes from knife-block in chef - I have a setup like this:

โ—ฏ : ls -l .spoon*
lrwxr-xr-x 1 root staff 17 Nov 4 10:15 .spoonrc -> .spoonrc.fds-demo
-rw-r--r-- 1 anichols staff 125 Nov 4 10:18 .spoonrc.fds-demo
-rw-r--r-- 1 anichols staff 342 Nov 2 11:28 .spoonrc.formation
-rw-r--r-- 1 anichols staff 226 Nov 2 11:30 .spoonrc.local

Would like to be able to view this list and switch them easily using spoon rather than manually swapping configs. Maybe redundant w/ -c, but seems useful maybe.

Spoon should gracefully handle a missing .spoonrc

If I run spoon w/ no .spoonrc:

/Users/anichols/.chefdk/gem/ruby/2.1.0/gems/docker-spoon-0.5.0/lib/spoon.rb:59:in `initialize': No such file or directory - /Users/anichols/.spoonrc (Errno::ENOENT)
        from /Users/anichols/.chefdk/gem/ruby/2.1.0/gems/docker-spoon-0.5.0/lib/spoon.rb:59:in `open'
        from /Users/anichols/.chefdk/gem/ruby/2.1.0/gems/docker-spoon-0.5.0/lib/spoon.rb:59:in `<module:Spoon>'
        from /Users/anichols/.chefdk/gem/ruby/2.1.0/gems/docker-spoon-0.5.0/lib/spoon.rb:7:in `<top (required)>'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /Users/anichols/.chefdk/gem/ruby/2.1.0/gems/docker-spoon-0.5.0/bin/spoon:5:in `<top (required)>'
        from /usr/bin/spoon:23:in `load'
        from /usr/bin/spoon:23:in `<main>'

Add support for copying files in/out of container

My first thought is to just implement the docker cp functionality to copy files from the container. Also maybe just a nice helper to use scp but make it simpler than having to lookup the port & IP of the host being used.

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.