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'
|
||||
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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue