SCONE Installation¶
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.
Customized Installation¶
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:
-
Simulation mode: if you want to run SCONE inside a container in simulation mode, you just need to install the docker engine on your host.
-
Hardware mode: If you want to run your applications in hardware mode inside of containers, you need to install the docker engine and install the Intel SGX driver on your host.
-
Running on a host: Running you applications on a host, you need to install the Intel SGX driver on the host.
-
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.
© scontain.com, Dec 2018. Questions or Suggestions?