cookbook 'codenamephp_docker', '= 3.0.0', :supermarket
codenamephp_docker (6) Versions 3.0.0 Follow0
Installs/Configures codenamephp_docker
cookbook 'codenamephp_docker', '= 3.0.0'
knife supermarket install codenamephp_docker
knife supermarket download codenamephp_docker
Chef Cookbook Docker
The default cookbook installs docker, makes sure the docker service is running.
This is just a wrapper cookbook for docker
Requirements
Supported Platforms
- Debian Buster
Chef
- Chef 13.1+
Cookbook Depdendencies
Usage
Add the cookbook to your Berksfile:
cookbook 'codenamephp_docker'
Use the resources as needed in a wrapper cookbook. You can check out some examples either in this readme or in the test/fixtures/test cookbook.
Resources
Service
Uses the docker_service
resource to install docker and create and start the service.
Actions
-
install
: Installs docker and creates and starts the service
Examples
With minimal properties: ```ruby
Install
codenamephp_docker_service 'Install docker' ```
Compose
Installs docker-compose as a docker image using the run script wrapper from docker-compose github. The bash completion is also installed.
Actions
-
install
: Installs docker-compose and bash completion
Properties
-
version
: The desired version as string, defaults to'latest'
Examples
With minimal properties: ```ruby
Install
codenamephp_docker_service 'Install docker' ```
With custom version:
ruby
codenamephp_docker_compose 'Install docker-compose' do
version '1.26.1'
end
Collaborator Number Metric
3.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.0.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
3.0.0 passed this metric
No Binaries Metric
3.0.0 passed this metric
Publish Metric
3.0.0 passed this metric
Supported Platforms Metric
3.0.0 passed this metric
Testing File Metric
3.0.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
3.0.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
3.0.0 failed this metric
3.0.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
3.0.0 passed this metric
No Binaries Metric
3.0.0 passed this metric
Publish Metric
3.0.0 passed this metric
Supported Platforms Metric
3.0.0 passed this metric
Testing File Metric
3.0.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
3.0.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
3.0.0 passed this metric
3.0.0 passed this metric
Publish Metric
3.0.0 passed this metric
Supported Platforms Metric
3.0.0 passed this metric
Testing File Metric
3.0.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
3.0.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
3.0.0 passed this metric
3.0.0 passed this metric
Testing File Metric
3.0.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
3.0.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
3.0.0 failed this metric
3.0.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