https://github.com/zchee/ruboty-docker
Management Docker via Ruboty ChatOps
https://github.com/zchee/ruboty-docker
Last synced: 4 months ago
JSON representation
Management Docker via Ruboty ChatOps
- Host: GitHub
- URL: https://github.com/zchee/ruboty-docker
- Owner: zchee
- Created: 2015-05-14T15:31:28.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-26T17:51:46.000Z (over 10 years ago)
- Last Synced: 2025-02-17T01:46:22.951Z (12 months ago)
- Language: Ruby
- Homepage:
- Size: 434 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[]() [](https://gemnasium.com/zchee/ruboty-docker)
[](https://circleci.com/gh/zchee/ruboty-docker)
[](https://coveralls.io/r/zchee/ruboty-docker)
[](https://codeclimate.com/github/zchee/ruboty-docker)
[](https://codeclimate.com/github/zchee/ruboty-docker/coverage)
# Ruboty::Docker
Management Docker via Ruboty ChatOps.
This plugin is **Experimental!**
I wrote ruby gem this is the first time.
This Gem is learning ruby for me.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'ruboty-docker'
```
And then execute:
$ bundle
And, launch ruboty:
```
$ docker run -v /var/run/docker.sock:/var/run/docker.sock your/rubotyimage
```
#### Tips
This plugin recommend to Ruboty on Docker container.
and, set
-v /var/run/docker.sock:/var/run/docker.sock
That way, `DOCKER_HOST` environment is set automatically `unix:///var/run/docker.sock`.
If do not use Docker container, please set Docker IP on `RUBOTY_DOCKER_HOST` environment.
and, set `RUBOTY_DOCKER_CERT_PATH`.
e.g.
```
RUBOTY_DOCKER_HOST=tcp://192.168.252.141:2376
RUBOTY_DOCKER_CERT_PATH=/Users/zchee/.docker/machine/machines/vmware-system
```
## Usage
```
@ruboty docker run ....
@ruboty docker images
@ruboty docker ps
and more...
```
## Contributing
1. Fork it ( https://github.com/zchee/ruboty-docker/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request