Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

The codenamephp_docker cookbook has been deprecated

Author provided reason for deprecation:

The codenamephp_docker cookbook has been deprecated and is no longer being maintained by its authors. Use of the codenamephp_docker cookbook is no longer recommended.

RSS

codenamephp_docker (9) Versions 3.2.0

Installs/Configures codenamephp_docker

Policyfile
Berkshelf
Knife
cookbook 'codenamephp_docker', '= 3.2.0', :supermarket
cookbook 'codenamephp_docker', '= 3.2.0'
knife supermarket install codenamephp_docker
knife supermarket download codenamephp_docker
README
Dependencies
Quality 33%

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

Properties

  • dns: String or String Array of dns servers that will be used by the docker service, defaults to ['8.8.8.8', '8.8.4.4'] (google dns)

Examples

With minimal properties:
```ruby

Install

codenamephp_docker_service 'Install docker'
```

With custom dns:
```ruby

Install

codenamephp_docker_service 'Install docker' do
dns '127.0.0.1'
end

codenamephp_docker_service 'Install docker' do
dns ['127.0.0.1', '::1']
end
```

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_compose 'Install docker-compose'
```

With custom version:
ruby
codenamephp_docker_compose 'Install docker-compose' do
version '1.26.1'
end

Collaborator Number Metric
            

3.2.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.2.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.2.0 passed this metric

No Binaries Metric
            

3.2.0 passed this metric

Testing File Metric
            

3.2.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.2.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