class GetContainersRunning
Public Instance Methods
info()
click to toggle source
# File lib/dockscan/modules/discover/get-run-containers.rb, line 3 def info return 'Running Container discovery module' end
run()
click to toggle source
# File lib/dockscan/modules/discover/get-run-containers.rb, line 7 def run sp=Dockscan::Scan::Plugin.new sp.obj = Docker::Container.all sp.output = sp.obj.map{|k,v| "#{k}=#{v}"}.join("\n") return sp end