Skip to content

igo95862/python-lxns

Repository files navigation

Documentation Status

Python-lxns

Python library to control Linux kernel namespaces

Implemented using C extension module.

Current features implemented:

  • Linux namespaces class abstractions with automatic resource control.
    • Opening existing namespaces using PIDs.
    • Opening parent user namespaces. (usually unaccessible from /proc)
    • Switching to a namespace.
    • Unsharing namespaces either from class method or function with boolean flags.
    • Automatic file descriptor resource control using with.

Requirements

Compiling source package

  • Meson build system
  • Python headers
  • C compiler
  • Linux kernel headers

License

Python-lxns is licensed under Mozilla Public License Version 2.0.

Examples in examples/ folder are licensed under MIT license.

About

Python library to control Linux kernel namespaces

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published