This package provides an OCI runtime specification implementation library written in Python.
pylibcontainer it's in a verly early stage of development.
Feature list:
- - Download and extract systems from rootfs archives
- Unshare from parent namespace
- Filesystem mounts
- Network
- IPC
- Process information
- Usernames mapping
- Writable overlay mount points
- Network
- Python 3.7+ (currently tested with 3.7)
sudo pip install https://github.com/joaompinto/pylibcontainer/archive/master.zip
sudo pylibcontainer run alpine
Bug reports and feature requests are happily accepted via the GitHub Issue Tracker. Pull requests are welcome. Issues that don't have an accompanying pull request will be worked on as my time and priority allows.
Testing is done via pytest, driven by tox.
Testing is as simple as:
sudo pip install tox
tox