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