Skip to content

Commit

Permalink
prepare for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
segersniels committed Feb 8, 2018
1 parent 0f70761 commit f73b9cf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 190 deletions.
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Supdock
What's Up, Dock(er)? A slightly more visual way to interact with the docker daemon. Supdock is a wrapper for the docker command, written in Ruby, meaning you can still use all of the other `docker` commands without issues.
What's Up, Dock(er)? A slightly more visual way to interact with the docker daemon. Supdock is a wrapper for the docker command meaning you can still use all of the other `docker` commands without issues.

<p align="center">
<img src="https://i.imgur.com/ATV0nP7.png" width="250">

## Installation
```bash
gem install tty-prompt ; curl -o /usr/local/bin/supdock https://raw.githubusercontent.com/segersniels/supdock/master/supdock ; chmod +x /usr/local/bin/supdock
npm install -g supdock
```

You might have to execute as `sudo` to install the gem.
If you don't want to use `supdock` and `docker` separately you can just set an alias.

```bash
Expand All @@ -21,11 +20,5 @@ Repetitive use of `docker ps`, `docker logs`, `docker stop` and `docker rmi` whe

![](https://i.gyazo.com/c1e63cfff8edf9e7c47397b642e1ceaf.gif)

## Possible Issues
- `... can't find header files for ruby at /usr/.../ruby.h` when building native extensions.

You may need to install ruby headers by installing `ruby-devel` on your machine.
*Source: [`https://stackoverflow.com/a/4502672/9002446`](https://stackoverflow.com/a/4502672/9002446)*

## Contributing
If you would like to see something added or you want to add something yourself feel free to create an issue or a pull request.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ const _ = require('lodash');

program.version(package.version);

//const commands = ['start', 'stop', 'logs', 'ssh', 'update', 'stats', 'rm', 'rmi', '-h', '-v', '-V', '--help', '--version', 'help'];


program
.command('stop')
.description('Stop a running container')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"lodash": "^4.17.5"
},
"bin" : {
"supdock-test": "index.js"
"supdock": "index.js"
}
}
177 changes: 0 additions & 177 deletions supdock

This file was deleted.

0 comments on commit f73b9cf

Please sign in to comment.