dry

command module
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2015 License: MIT Imports: 13 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

The first release is near.

Installation

Implemented in Go, make sure that $GOPATH exists.

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

A mechanism to install binaries will be provided in the future.

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, the insert 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.

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