X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/6186c0adbc0a63f7071934a7e3b112f567b029d7..55e12f3d96372f87d2e918bd0e33147a42f71d4b:/cookbooks/docker/recipes/default.rb diff --git a/cookbooks/docker/recipes/default.rb b/cookbooks/docker/recipes/default.rb index aa4aa34f0..1c8643d03 100644 --- a/cookbooks/docker/recipes/default.rb +++ b/cookbooks/docker/recipes/default.rb @@ -39,6 +39,11 @@ template "/etc/docker/daemon.json" do mode "644" end +service "containerd" do + action [:enable, :start] + subscribes :restart, "template[/etc/docker/daemon.json]" +end + service "docker" do action [:enable, :start] subscribes :restart, "template[/etc/docker/daemon.json]"