GitHub version CircleCI MIT License

Docker2plantuml

Installation

Add this line to your application's Gemfile:

gem 'docker2plantuml'

And then execute:

$ bundle

Or install it yourself as:

$ gem install docker2plantuml

Usage

$ docker ps -q | xargs docker inspect | docker2plantuml

or

$ docker ps -q | xargs docker inspect > docker.json
$ docker2plantuml docker.json

And, Convert standard output to deployment diagram using plantUML

Example:

readme_sample.svg

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/unapon/docker2plantuml. 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.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Docker2plantuml project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.