Gramine Shielded Containers
The Gramine Shielded Constainer (GSC) tool transforms an original Docker image into a new, “graminized” image
which includes the Gramine Library OS, manifest files, Intel SGX related
information, and executes the application inside an Intel SGX enclave using
Gramine. It follows the common Docker approach to first build an image and
subsequently run this image inside of a container. At first a Docker image has
to be graminized via the gsc build
command. When the graminized image should
run within an Intel SGX enclave, the image has to be signed via a gsc
sign-image
command. Subsequently, the image can be run using docker run
.
Note the the GSC documentation is split from the core Gramine documentation and is hosted here: https://gramine.readthedocs.io/projects/gsc.
Similarly, the GSC tool is split from the core Gramine repository and can be found here: https://github.com/gramineproject/gsc.