2 # Copyright 2016-2017, whitestar
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
17 name 'docker-new-repo'
18 description 'Docker CE by the new repository'
21 'recipe[docker-grid::engine]',
22 'recipe[docker-grid::compose]',
32 'install_flavor' => 'dockerproject',
34 'enable_new_repo' => true,
37 #'skip_setup' => true, # default: false
38 'auto_upgrade' => true, # default: false
39 'release_base_url' => 'https://github.com/docker/compose/releases/download/1.21.2',
42 #'skip_setup' => true, # default: false
43 # new package: `docker-ce`
44 #'version' => '', # '' (=latest) or exact version
45 'version_on_centos' => '', # latest
46 #'version_on_centos' => '18.06.0.ce-3', # '18.03.1.ce-1', '17.12.1.ce-1',
47 'version_on_ubuntu' => '', # latest
48 #'version_on_ubuntu' => '18.06.0~ce~3-0', # '18.03.1~ce-0', '17.12.1~ce-0'
49 'storage-driver_on_centos' => 'overlay', # defacto: 'devicemapper'
50 'storage-driver_on_ubuntu' => 'overlay2', # defacto: 'aufs'
51 #'userns-remap' => 'default',
52 'daemon_extra_options' => [
54 #'-H fd:// --bip=192.168.100.1/24 --fixed-cidr=192.168.100.0/24',
55 # for docker >= 1.10, docker-engine >= 1.12 (on rhel family)
56 # '-H fd://' option automatically removed by this cookbook.
57 # See https://github.com/docker/docker/issues/22847