dry

command module
v0.3.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2015 License: MIT Imports: 14 Imported by: 0

README

dry

License MIT wercker status Go Report Card

dry is an interactive console application that connects to a Docker host, shows the list of containers and offers a few Docker commands to run on them.

asciicast

It can be used as alternative to the following commands of the official Docker cli:

  • inspect
  • kill
  • logs
  • ps
  • rm
  • stats
  • start
  • stop
Installation

An easy way to install the latest binaries for Linux and Mac is to run this in your shell:

$ curl -sSf https://moncho.github.io/dry/dryup.sh | sh
Binaries

If you dont like to curl | sh, binaries are provided.

Go

And if you just run what you compile, use the source.

Make sure that $GOPATH exists.

$ go get github.com/moncho/dry
$ cd $GOPATH/src/github.com/moncho/dry
$ make install
Usage

Open a console, type dry. It will connect to whatever host defined in $DOCKER_HOST environment variable.

dry -p launches dry with pprof package active.

Debug

Debugging can be done using godebug.

Install it, then insert a breakpoint anywhere you want:

_ = "breakpoint"

Then, run the debugger:

godebug run -instrument github.com/moncho/dry,github.com/moncho/dry/app,github.com/moncho/dry/docker,github.com/moncho/dry/ui,github.com/moncho/dry/appui main.go
Contributing

All contributions are welcome.

  • Fork the project.
  • Make changes on a topic branch.
  • Pull request.

Code released under the MIT license. See LICENSE for the full license text.

Credits

Built on top of:

Also reused some code and ideas from the Docker project and mop.

Bitdeli Badge

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL