LAVA-LXC-MOCKER(7)
π LAVA-LXC-MOCKER π
okay so bestie, welcome to the LAVA-LXC-MOCKER(7) page β it lives in the Miscellaneous Information Manual and it's genuinely one of my faves. sit down, grab a boba, let's talk π§β¨
β¨ NAME β¨
lava-lxc-mocker β the little mock LXC commands that LAVA uses π
πΈ SUMMARY πΈ
so basically, lava-lxc-mocker is a whole collection of mocker scripts, and each one mocks one of the LXC commands that the Linaro Automated Validation Architecture (LAVA) uses. it's giving "understudy energy" β it does not support every single command and option that lxc provides, only the ones LAVA actually uses. no more, no less, periodt π
and the way that this slaps? LAVA Test jobs that use LXC can then be replicated in Docker with the help of lava-lxc-mocker. obsessed π₯
π LIST OF MOCKED COMMANDS π
these are the icons, the main characters, the ones holding it down:
lxc-attachlxc-createlxc-destroylxc-devicelxc-infolxc-startlxc-stop
π NOTE π
okay listen, this part is important, no cap.
LXC is Linux Containers userspace tools. lava-lxc-mocker does not use LXC. like, at all. π the commands that lava-lxc-mocker provides are just simple shell scripts that use the same command names, mocking some LXC commands. that's the whole bit.
and here's the part you cannot skip: lava-lxc-mocker commands still need to be executed in the same sequence as a typical LXC operation. fr fr. in particular, once a container has been created, that container needs to be destroyed to clean up the symlinks and other artifacts. don't leave your container just sitting there like an unread group chat message, bestie π
lowkey a vibe check for your workflow: create β ... β destroy. skipping the destroy is not the move π«Ά
π¦ SEE ALSO π¦
go read these next, iykyk:
lxc-attach(1), lxc-create(1), lxc-destroy(1), lxc-device(1), lxc-info(1), lxc-start(1), lxc-stop(1)
π LICENSE π
Released under the MIT License: http://www.opensource.org/licenses/mit-license.php β¨
π AUTHOR π
Senthil Kumaran S <senthil.kumaran@linaro.org> β the actual legend π
π COPYRIGHT π
2010-2023, Linaro Limited πΈ
and that's the whole page, bestie!! π₯³ this was 2023.01, dated January 23, 2023, from the LAVA crew β thanks for reading, mwah πβ¨
π¦ where this page comes from
- debian bookworm: lava-lxc-mocker 2023.01-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms