Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 427 Bytes

File metadata and controls

20 lines (15 loc) · 427 Bytes

python-based-container

A simple implementation of container based on python

Usage

$ sudo python3 python-container.py run /bin/bash

Adaptation

Add one adapted version: python-container-v2.py

You can check your Cgroup version by using the following command:

$ sudo docker info

You will find yours like Cgroup Version: 1 or Cgroup Version: 2

Acknowledgement

Idea comes from @lizrice