Update `docker` recipe.
This commit is contained in:
parent
bad580a4a0
commit
fd01843277
|
@ -19,7 +19,7 @@ execute 'apt-get update' do
|
||||||
not_if 'which docker'
|
not_if 'which docker'
|
||||||
end
|
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
|
package p
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
# Ignore the certificate
|
# Ignore the certificate
|
||||||
|
directory '/etc/docker/' do
|
||||||
|
owner 'root'
|
||||||
|
group 'root'
|
||||||
|
mode '0600'
|
||||||
|
end
|
||||||
|
|
||||||
remote_file '/etc/docker/daemon.json' do
|
remote_file '/etc/docker/daemon.json' do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
group 'root'
|
group 'root'
|
||||||
|
|
Loading…
Reference in New Issue