mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-04 18:55:48 +02:00
dbe3947d22
Install docker from the community cookbook and add some users in the docker group from attributes. I created the `attributes/default.rb` attribute file to configure which users are added in the `docker` group. I suggest to put all configurable values here, such as users, passwords etc..
16 lines
241 B
Ruby
16 lines
241 B
Ruby
#
|
|
# Cookbook:: metasploitable
|
|
# Recipe:: docker
|
|
#
|
|
|
|
docker_service 'default' do
|
|
action [:create, :start]
|
|
group 'docker'
|
|
end
|
|
|
|
group 'docker' do
|
|
action [:create, :modify]
|
|
append true
|
|
members node['metasploitable']['docker_users']
|
|
end
|