Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rosylilly/docker_registry
https://github.com/rosylilly/docker_registry
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rosylilly/docker_registry
- Owner: rosylilly
- License: mit
- Created: 2014-09-15T07:45:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-13T05:09:34.000Z (about 10 years ago)
- Last Synced: 2024-12-22T13:14:51.373Z (15 days ago)
- Language: Ruby
- Size: 147 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# DockerRegistry
Docker registry HTTP API client
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'docker_registry'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install docker_registry
## Usage
```ruby
registry = DockerRegistry::Registry.new("https://index.docker.io")
registry.search("dockerfile/ruby")
# =>
# [
# #,
# #,
# #
# ...
# ]repository = client.all[0]
repository.tags
# =>
# [
# #,
# #,
# #
# ...
# ]
```## Contributing
1. Fork it ( https://github.com/[my-github-username]/docker_registry/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