mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-08-26 00:00:09 +02:00
18 lines
286 B
Ruby
18 lines
286 B
Ruby
#
|
|
# Cookbook:: metasploitable
|
|
# Recipe:: docker
|
|
#
|
|
|
|
docker_service 'default' do
|
|
install_method 'package'
|
|
version '18.06.1'
|
|
action [:create, :start]
|
|
group 'docker'
|
|
end
|
|
|
|
group 'docker' do
|
|
action [:create, :modify]
|
|
append true
|
|
members node[:metasploitable][:docker_users]
|
|
end
|