Base image for applications using the official Intel SGX SDK
2.0K
Instructions:
/usr/src/appaesmd and jhid must be stoppedExample using SampleEnclave shipped with the official SDK
Dockerfile
FROM sebvaucher/sgx-base:sgx_2.5
COPY . ./
RUN make SGX_DEBUG=0 SGX_PRERELEASE=1 SGX_MODE=HW
CMD ["./app"]
Building image
$ docker build -t sampleenclave .
Running in container
If your system uses the MEI kernel module (/dev/mei0 is available), you should run the application using the following command:
$ docker run --device /dev/isgx --device /dev/mei0 sampleenclave
If your system uses the DAL kernel module (/dev/dal0 is available), you should run the application using the following command:
$ docker run --device /dev/isgx --device /dev/dal0 sampleenclave
Content type
Image
Digest
Size
319.8 MB
Last updated
over 7 years ago
docker pull sebvaucher/sgx-base