Skip to content

An environment to run sgx applications in docker containers. Include SGX script to install driver, SDK, and PSW

License

Notifications You must be signed in to change notification settings

aminueza/sgx-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT

SGX DOCKER PATCHES

This is a Git repository for Intel SGX applications using Docker Containers. The Intel(R) Software Guard Extensions (Intel(R) SGX) is an Intel technology for application developers seeking to protect select code and data from disclosure or modification.

The Linux SGX software stack is comprised of the SGX driver, the SGX SDK, and the SGX Platform Software. The SGX SDK and SGX PSW are hosted in the linux-sgx project.

The linux-sgx-driver project hosts the out-of-tree driver for the Linux SGX software stack, which will be used until the driver upstreaming process is complete.

Install SGX driver and PSW/SDK to host

1 - Download and run the Install-SGX-host.sh:

$ git clone https://github.com/aminueza/sgx-docker.git
$ cd sgx-docker
$ chmod +x Install-SGX-host.sh
$ ./Install-SGX-host.sh

Download Dockerfile

$ git clone https://github.com/aminueza/sgx-docker.git

Build a new docker image

2 - Build a new image:

$ docker build -t <image name> <destination-dir>

i.e: "docker build -t app-sgx ."

3 - Run a new image:

$ docker run --device=/dev/isgx -it <image name>

i.e: "docker run --device=/dev/isgx -it app-sgx"

*or start an interactive bash session:

$ docker run --device=/dev/isgx -it <image name> /bin/bash

Plus you can download a docker image hosted on Dockerhub

1 - Download a docker image:

$ docker pull aminueza/docker-sgx

About

An environment to run sgx applications in docker containers. Include SGX script to install driver, SDK, and PSW

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published