An open API service indexing awesome lists of open source software.

https://github.com/smwa/hubot-docker

A Hubot script to control docker
https://github.com/smwa/hubot-docker

docker hubot hubot-docker hubot-scripts

Last synced: 4 months ago
JSON representation

A Hubot script to control docker

Awesome Lists containing this project

README

          

# hubot-docker

Hubot script for managing docker containers

See [`src/docker.coffee`](src/docker.coffee) for full documentation.

## Installation

In hubot project repo, run:

`npm install hubot-docker --save`

Then add **hubot-docker** to your `external-scripts.json`:

```json
[
"hubot-docker"
]
```

## Sample Interaction

```
user1>> hubot docker ps
hubot>> containername: Up for 2 weeks
```

```
user1>> hubot docker restart containername
hubot>> Restarting containername...
hubot>> containername
```