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 with fancy => 1 and only show me 'name,ram' because who has time for every column
  • vm 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