Add this line to your rails application's Gemfile:
gem 'dockerize_rails'
And then execute:
$ bundle
$ bundle exec dock help
$ bundle exec dock configure
$ bundle exec dock configure --skip-desc
$ bundle exec dock dockerize
$ bundle exec dock dockerize --config-test
$ bundle exec dock undockerize
$ bundle exec dock undockerize --purge
$ bundle exec dock docker_info
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub at https://github.com/eendroroy/dockerize_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.