Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Linux Container Enumeration

Disclosed
N/A
Created
Aug 6, 2020

Description

This module attempts to enumerate containers on the target machine and optionally run a command on each active container found.
Currently it supports Docker, LXC and RKT.

Author

stealthcopter

Platform

Linux

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use post/linux/gather/enum_containers
msf post(enum_containers) > show actions
...actions...
msf post(enum_containers) > set ACTION < action-name >
msf post(enum_containers) > show options
...show and set options...
msf post(enum_containers) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.