Confine has been mainly developed in python. You need to install the packages described in the following section and initialize the repository before using the tool set.
This project has only been tested on Ubuntu 18.04 and it requires Linux kernel v4.15. Due to usage of specific debian-based tools (such as dpkg and apt-file) use on other operating systems at your own risk. All the scripts have been written in coordinance with python version 3.7.
sudo apt update sudo apt install -y python3.7 sudo apt install -y docker.io sudo systemctl start docker sudo systemctl enable docker sudo apt install -y sysdig
In case your system does not have the python3.7 in the default repositories, you
may need to add them through third party PPAs separately.
An example is provided below:
sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install -y python3.7
NOTE: Adding untrusted PPAs to your system repository is not advised. It can lead
to the installation of malicious applications. Use third party PPAs at your own risk.
In case enabling the docker service fails due to the following error:
Failed to start docker.service: Unit docker.service is masked
You can run the following command before starting and enabling the service.
sudo systemctl unmask docker.service