2.1 Do not use lxc execution driver

Information

The default Docker execution driver is 'libcontainer'. LXC as an execution driver is
optional and just has legacy support.

There is still legacy support for the original LXC userspace tools via the 'lxc' execution
driver, however, this is not where the primary development of new functionality is taking
place. Docker out of the box can now manipulate namespaces, control groups, capabilities,
apparmor profiles, network interfaces and firewalling rules - all in a consistent and
predictable way, and without depending on LXC or any other userland package. This
drastically reduces the number of moving parts, and insulates Docker from the side-effects
introduced across versions and distributions of LXC.

Solution

Do not run the Docker daemon with 'lxc' as execution driver.For example, do not start the Docker daemon as below-$> docker -d --exec-driver=lxc

Impact-None.

Default Value-By default, Docker execution driver is 'libcontainer'.

See Also

https://workbench.cisecurity.org/files/514

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Unix

Control ID: e8e99b6033d07b1551a238e3af7191b65b05b792b6fcabac1e177c4c60c3a48f