cookbook 'docker_registry', '~> 0.3.0'
docker_registry (6) Versions 0.3.0 Follow2
Installs/Configures docker_registry
cookbook 'docker_registry', '~> 0.3.0', :supermarket
knife supermarket install docker_registry
knife supermarket download docker_registry
docker_registry Cookbook
This is a cookbook written to help you install and run a docker registry of
your very own.
It only supports the newest version of the registry ( > 2
) and will also
run an nginx proxy if you want SSL or authentication.
You can choose to back the filestore locally, or via s3 or swift. When backing the filestore with s3 or swift I highly recommend running the registry on localhost
with no SSL or authentication on every server that wants to access the registry. see http://bridgetkromhout.com/speaking/2015/oscon/ and http://0x74696d.com/posts/host-local-docker-registry/.
Requirements
The only hard requirement is the docker
cookbook which is listed in
metadata.rb
.
If you want the cookbook to also run an nginx
proxy for you, you will
need to add the appropriate cookbooks in the recommends
section of
metadata.rb
to your run list. see .kitchen.yml
for an example of this.
Attributes
Attributes are self documented in attributes/*
Usage
docker_registry::default
calls docker_registry::install
docker_registry::registry
Installs and runs docker registry
docker_registry::nginx
Installs and runs nginx proxy for registry
Allows you to secure the registry with SSL.
see .kitchen.yml
for runlist and attributes to create an SSL (self-signed)
protected registry.
To interact with the registry inside the TK instance you'll need to set
127.0.0.1 registry.local
in hosts files.
Testing
If you have ChefDK
$ chef exec bundle install --without=ruby
$ chef exec berks install
$ chef exec rake
If you do not have ChefDK
$ bundle install
$ berks install
$ chef exec rake
Contributing
e.g.
1. Fork the repository on Github
2. Create a named feature branch (like add_component_x
)
3. Write your change
4. Write tests for your change (if applicable)
5. Run the tests, ensuring they all pass
6. Submit a Pull Request using Github
License and Authors
Paul Czarkowski
Copyright 2014,2015 Paul Czarkowski
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
docker ~> 1.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
docker_registry CHANGELOG
This file is used to list changes made in each version of the docker_registry cookbook.
0.3.0
- minimize dependencies
- support nginx frontend for SSL
0.2.0
- Rewrite to support v2 of registry
- only supports docker install method
0.1.0
- Initial release of docker_registry
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.3.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 passed this metric
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 passed this metric
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 passed this metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number