LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lxc-checkconfig

checks whether the current kernel has the required features enabled for LXC

TLDR

Check current kernel support
$ lxc-checkconfig
copy
Check specific kernel config
$ CONFIG=/path/to/config lxc-checkconfig
copy

SYNOPSIS

lxc-checkconfig

DESCRIPTION

lxc-checkconfig checks whether the current kernel has the required features enabled for LXC container support. It examines namespaces, cgroups, and other kernel capabilities.

CHECKS PERFORMED

Namespaces: User, PID, UTS, IPC, NetworkCgroups: v1/v2, controllersMisc: Seccomp, checkpoint/restore

CAVEATS

Set CONFIG environment variable to check a different kernel configuration file. Helps diagnose why containers might not work on a system.

SEE ALSO

Copied to clipboard
Kai