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

RSS

docker-grid (41) Versions 0.2.2

Installs/Configures Docker Engine.

Policyfile
Berkshelf
Knife
cookbook 'docker-grid', '= 0.2.2', :supermarket
cookbook 'docker-grid', '= 0.2.2'
knife supermarket install docker-grid
knife supermarket download docker-grid
README
Dependencies
Changelog
Quality 67%

docker-grid Cookbook

This cookbook sets up Docker engine.

Contents

Requirements

platforms

  • CentOS, Red Hat Enterprise Linux >= 7.2
  • Ubuntu >= 14.04

packages

  • none.

Attributes

Key Type Description, example Default
['docker-grid']['apt_repo']['url'] String 'https://apt.dockerproject.org/repo'
['docker-grid']['apt_repo']['keyserver'] String 'hkp://p80.pool.sks-keyservers.net:80'
['docker-grid']['apt_repo']['recv-keys'] String '58118E89F3A912897C070ADBF76221572C52609D'
['docker-grid']['yum_repo']['baseurl'] String 'https://yum.dockerproject.org/repo/main/centos/$releasever/'
['docker-grid']['yum_repo']['gpgcheck'] String '0': disabled, '1': enabled. '1'
['docker-grid']['yum_repo']['gpgkey'] String 'https://yum.dockerproject.org/gpg'
['docker-grid']['compose']['auto_upgrade'] String upgrade/reinstall the docker-compose automatically. false
['docker-grid']['compose']['release_base_url'] String 'https://github.com/docker/compose/releases/download/1.9.0'
['docker-grid']['compose']['release_url'] String "#{node['docker-grid']['compose']['release_base_url']}/docker-compose-#{node['kernel']['name']}-#{node['kernel']['machine']}"
['docker-grid']['engine']['version_on_centos'] String Docker version for CentOS. '1.11.2-1'
['docker-grid']['engine']['version_on_ubuntu'] String Docker version for Ubuntu. '1.11.2-0'
['docker-grid']['engine']['version'] String Docker 1.9.x - 1.11.x is recommended for stability reasons. Note: this default value is overwritten by the version_on_{centos or ubuntu}. See default.rb
['docker-grid']['engine']['storage-driver_on_centos'] String Docker storage driver (overlay, devicemapper, ...) for CentOS. 'overlay'
['docker-grid']['engine']['storage-driver_on_ubuntu'] String Docker storage driver (aufs, overlay, ...) for Ubuntu. 'aufs'
['docker-grid']['engine']['storage-driver'] String See default.rb
['docker-grid']['engine']['userns-remap'] String e.g. 'default' (dockremap user/group) or your specified user/group name. Note: it is available in Docker 1.10/later and (Ubuntu or RHEL family 7.2/later). nil (inactive)
['docker-grid']['engine']['daemon_extra_options'] String ref. docker daemon --help. '-H fd://'
['docker-grid']['engine']['users_allow'] Array Non-root users allowed to manage Docker daemon. []

Usage

Recipes

docker-grid::default

This recipe does nothing.

docker-grid::compose

This recipe installs docker-compose.

docker-grid::engine

This recipe sets up Docker engine.

Role Examples

  • roles/docker.rb
name 'docker'
description 'Docker Engine'

run_list(
  'recipe[docker-grid::engine]',
)

override_attributes(
  'docker-grid' => {
    'engine' => {
      'version_on_centos' => '1.11.2-1',
      'version_on_ubuntu' => '1.11.2-0',
      'storage-driver_on_centos' => 'overlay',
      'storage-driver_on_ubuntu' => 'overlay',  # default: 'aufs'
      'userns-remap' => 'default',  # default: nil (inactive)
      'daemon_extra_options' => '-H fd:// --bip=192.168.128.1/24 --fixed-cidr=192.168.128.0/24',
    },
  },
)

License and Authors

  • Author:: whitestar at osdn.jp
Copyright 2016, whitestar

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

This cookbook has no specified dependencies.

Contingent cookbooks

apt_utils Applicable Versions
athenz Applicable Versions
bubbleupnp-server Applicable Versions
concourse-ci Applicable Versions
dcos-grid Applicable Versions
etcd-grid Applicable Versions
gitlab-grid Applicable Versions
hc-vault Applicable Versions
jenkins-grid Applicable Versions
kubernetes-grid Applicable Versions
minim-server Applicable Versions
minio-grid Applicable Versions
nexus-grid Applicable Versions
screwdriver Applicable Versions
spinnaker Applicable Versions

docker-grid CHANGELOG

0.2.2

  • adds the docker-grid::compose recipe.
  • adds the ['docker-grid']['engine']['users_allow'] attribute.
  • refactoring.

0.2.1

  • refactoring.

0.2.0

  • adds the ['docker-grid']['engine']['userns-remap'] attribute.

0.1.0

  • Initial release of docker-grid

Collaborator Number Metric
            

0.2.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

0.2.2 passed this metric

License Metric
            

0.2.2 passed this metric