We recommend to use Alpine Linux for container images using SCONE and and Ubuntu 16.04 LTS or Ubuntu 18.04 LTS for the hosts that run these container images. To ensure that your Ubuntu host has all software installed to run SCONE containers, you can just run:
curl -fssl https://raw.githubusercontent.com/scontain/install_dependencies/master/install-host-prerequisites.sh | bash
This script will check if the required components are already installed and installs only the components that have not yet been installed.
You can customize the SCONE installation based on your needs. Depending on how you want to use SCONE, you could instead install software components on a per need basis:
Running an iExec platform: The iExec containers are so far started without explicitly mapping the isgx device into these containers. Hence, you need to install the patched docker engine and the patched sgx driver.
Running on a VM: Running you applications on a virtual machine, you need to install the Intel SGX driver on the VM and you have to ensure that your hypervisor supports SGX: You might want to install a patched version of KVM.
Ensure that your CPU runs the newest microcode by updating the CPU microcode.