TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'docker_echo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install docker_echo
-
Build docker_echo_worker image
-
Clone this project
$ git clone https://github.com/kiyohara/docker_echo.git
$ cd docker_echo
- Make gem pkg
$ rake build
- Create docker image
$ docker build -t docker_echo .
- Run docker container
$ docker run -e "DOCKER_HOST=${DOCKER_HOST}" -p 8081:8081 docker_echo
- Check API
$ curl -X GET http://<docker host>:8081/
$ curl -X GET http://<docker host>:8081/ping
$ curl -X POST -d 'data=xxx' http://<docker host>:8081/echo
- Fork it ( https://github.com/[my-github-username]/docker_echo/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request