2 # Copyright 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-old-repo'
18 description 'Docker Engine by the old repository'
21 'recipe[docker-grid::engine]',
22 'recipe[docker-grid::compose]',
32 'install_flavor' => 'dockerproject',
34 'enable_new_repo' => false,
37 #'skip_setup' => true, # default: false
40 'version' => '', # latest
41 #'skip_setup' => true, # default: false
42 # old package: `docker-engine`
43 #'version_on_centos' => '17.03.1.ce-1',
44 #'version_on_centos' => '1.13.1-1',
45 #'version_on_centos' => '1.12.6-1',
46 #'version_on_centos' => '1.11.2-1',
47 #'version_on_centos' => '1.10.3-1',
48 #'version_on_ubuntu' => '17.05.0~ce-0',
49 #'version_on_ubuntu' => '17.03.1~ce-0',
50 #'version_on_ubuntu' => '1.13.1-0',
51 #'version_on_ubuntu' => '1.12.6-0',
52 #'version_on_ubuntu' => '1.11.2-0',
53 'storage-driver_on_centos' => 'overlay', # defacto: 'devicemapper'
54 'storage-driver_on_ubuntu' => 'overlay', # defacto: 'aufs'
55 #'userns-remap' => 'default',
56 'daemon_extra_options' => [
58 #'-H fd:// --bip=192.168.100.1/24 --fixed-cidr=192.168.100.0/24',
59 # for docker >= 1.10, docker-engine >= 1.12 (on rhel family)
60 # '-H fd://' option automatically removed by this cookbook.
61 # See https://github.com/docker/docker/issues/22847