Rex::V...n::Lxc(3pm)
π NAME π
Rex::Virtualization::Lxc β the Linux Containers Virtualization Module, bestie π§β¨
Like, this is Rex::V...n::Lxc in the header because the manual page name got squished, but the actual module is Rex::Virtualization::Lxc, and she's a Queen π β she's User Contributed Perl Documentation and she lives on your system fr fr.
π¦ DESCRIPTION π¦
Okay so listen. With this module you can manage Linux Containers. That's it, that's the vibe. LXC containers? Yours. Managed. Slay π
No cap, it's giving "I containerize things and I do it well."
β¨ SYNOPSIS β¨
Here's how you actually use her, periodt:
use Rex::Commands::Virtualization;
set virtualization => "Lxc";
use Data::Dumper;
print Dumper vm list => "all";
print Dumper vm list => "active",
fancy => 1,
format => 'name,ram';
print Dumper vm list => "all",
fancy => 1;
So like. You use Rex::Commands::Virtualization; first obviously π«Ά then you set virtualization => "Lxc"; to tell Rex hey bestie, we're doing LXC today. Then use Data::Dumper; because we're nosy and we wanna see the output in all its glory π
Then it's just vm list:
vm list => "all"β dump everything, raw, no filter π₯vm list => "active", fancy => 1, format => 'name,ram'β only the active ones, but make it aesthetic withfancy => 1and only show me'name,ram'because who has time for every columnvm list => "all", fancy => 1β everything, but pretty πΈ
All of it wrapped in Dumper so you can actually see what came back. Iconic behavior honestly.
Quick vibe check: the options shown here (fancy,format, the"all"/"active"args) go through the Rex virtualization command layer β this module is the LXC backend she plugs into. iykyk π
okay that's the whole page bestie, she's short and she's perfect and I'm obsessed π
This was User Contributed Perl Documentation for perl v5.40.1, dated 2025-10-03 β go manage some containers, main character πβ¨π¦
π¦ where this page comes from
- ubuntu resolute: rex 1.16.1-1 Β· Apache-2.0
- ubuntu stonking: rex 1.16.1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms