Update `docker` recipe.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-05 15:02:03 +09:00
parent bad580a4a0
commit fd01843277
2 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,7 @@ execute 'apt-get update' do
not_if 'which docker'
end
%w(docker-ce docker-ce-cli containerd.io).each do |p|
%w(docker-ce docker-ce-cli containerd.io docker-compose-plugin).each do |p|
package p
end

View File

@ -1,4 +1,10 @@
# Ignore the certificate
directory '/etc/docker/' do
owner 'root'
group 'root'
mode '0600'
end
remote_file '/etc/docker/daemon.json' do
owner 'root'
group 'root'