Skip to content
Reto Gantenbein edited this page Oct 3, 2020 · 20 revisions

This guide describes how the LXC/LXD packages built in the ganto/lxc4 COPR project from the spec files hosted in this repository can be used to run LXC/LXD on a Fedora Linux host. Currently the packages are available for Fedora 31/32/33/Rawhide and the x86_64, aarch64 and i386 architecture. Check the COPR page for more details.

Installation Instructions

  • Enable the COPR repository (currently supported on ):
# dnf copr enable ganto/lxc4

LXC

Install LXC including liblxc and the lxc-* command line utilities:

# dnf install lxc

If you already have LXC installed from the Fedora repository run:

# dnf update lxc

IMPORTANT

This will replace the official lxc packages in case you had previously installed them from the Fedora repositories. However, the release numbers of the COPR packages are chosen in way, that the official lxc packages should replace the COPR packages again once the same (or newer) version is provided by Fedora.

LXD

Install the LXD daemon and the lxc command line client:

# dnf install lxd

Hint: You don't need to install LXC to run LXD. LXD includes a separate command line client. Containers created via the traditional liblxc (and its clients) cannot be managed via LXD without conversion.

Clone this wiki locally