X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7690b02c5aa414318ba7884891902aa8b757e834..1a062eb5304d0ef835313e5948053fcdccf20ecf:/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]"