**Running Intel(R) Software Guard Extensions (Intel(R) SGX) in Docker Containers.**
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](https://github.com/01org/linux-sgx) project.
The [linux-sgx-driver](https://github.com/01org/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.
**Running SGX application requires installing SGX driver and SGX PSW/SDK to host.
## Download Docker Image
1 - Download a docker image:
```bash
$ docker pull aminueza/docker-sgx
```
## Run a docker image
2 - Run a new image:
```bash
$ docker run --device=/dev/isgx -it docker-sgx
```
*or start an interactive bash session:
```bash
$ docker run --device=/dev/isgx -it docker-sgx /bin/bash
```
## Thanks
Special thanks to [Sean Christopherson](https://github.com/sean-jc), for providing the patches used into docker image.