ganto / lxc3


RPM packages for the LXC/LXD 3.0 release. This might become deprecated once lxc-3.x has been added to Fedora upstream.

Spec file sources ganto/copr-lxc3

Installation Instructions

Steps to run LXC 3.0:

  • Enable this COPR repository:

    # dnf copr enable ganto/lxc3
  • Install LXC:

    # dnf install lxc


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

  • Install LXD:

    # dnf install lxd

Getting Started - LXC

If you already have a network bridge (e.g. through libvirt) that you want to use with your containers, define it in /etc/lxc/default.cfg: = virbr0

If you want LXC to handle the bridge for the containers follow the instructions from the Fedora wiki.

Start the LXC service which will setup the bridge and dnsmasq (if enabled) and later start the containers on host restart:

# systemctl enable --now lxc.service

Create container from a download image:

# lxc-create -n mycontainer -t download -- --dist fedora --release 27 --arch amd64 # lxc-start -n mycontainer # lxc-attach -n mycontainer

Create container from an OCI image (requires COPR: ganto/umoci) :

# dnf install skopeo umoci jq # lxc-create myalpine -t oci -- --url docker://alpine

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Epel for CentOS 7 x86_64 [modified] (17)* Epel 7 (24 downloads)
Fedora 26 x86_64 (0)* Fedora 26 (14 downloads)
Fedora 27 x86_64 (44)* Fedora 27 (29 downloads)
Fedora 28 x86_64 (33)* Fedora 28 (18 downloads)
Fedora rawhide x86_64 (0)* Fedora rawhide (14 downloads)

* Total number of packages downloaded in the last seven days.