mirror of
https://github.com/lxc/python3-lxc.git
synced 2026-02-05 09:48:21 +01:00
fd8f7d1ff03f4b8e0240f5142908657f58dbeac3
This example script is guaranteed to fail on modern Ubuntu releases due to outdated configuration. These changes allow the script to pass:
- Fixes container.create arguments to request Noble image instead of Xenial, as Xenial images are no longer available
- Changes cgroups key strings to use cgroups v2 nomenclature ('max' instead of 'limit_in_bytes', 'peak' instead of 'max_usage_in_bytes')
Signed-off-by: Austin Rhodes <austin.rhodes@canonical.com>
python3-lxc
This repository provides python3 bindings for the LXC container API.
Build
- Build:
python3 setup.py build - Install:
python3 setup.py install - Build rpm:
python3 setup.py bdist_rpm
Description
Languages
C
74.5%
Python
25.5%