X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e261b6f728d5bfceb9a98d5e35b29915afd49035..8c985adf9ae56cb9bb8b950c97da6f3ad392fa61:/cookbooks/docker/recipes/default.rb diff --git a/cookbooks/docker/recipes/default.rb b/cookbooks/docker/recipes/default.rb index bfdc88a09..890c1c21f 100644 --- a/cookbooks/docker/recipes/default.rb +++ b/cookbooks/docker/recipes/default.rb @@ -17,7 +17,7 @@ # limitations under the License. # -include_recipe "apt" +include_recipe "apt::docker" package %w[ docker-ce @@ -31,18 +31,11 @@ directory "/etc/docker" do mode "755" end -storage_driver = if kitchen? - "vfs" - else - "overlay2" - end - template "/etc/docker/daemon.json" do source "daemon.json.erb" owner "root" group "root" mode "644" - variables :storage_driver => storage_driver end service "docker" do