# Before you start - Refer to [this guide](https://github.com/alibaba/inclavare-containers#rune) to build `rune` from scratch. - Register a `SPID` and `Subscription Key` of [IAS](https://api.portal.trustedservices.intel.com/EPID-attestation). After the registration, Intel will respond with a SPID which is needed to communicate with IAS. # Run stub with Docker ## Configure SGX RA settings ```shell export SPID= export EPID_SUBSCRIPTION_KEY= export QUOTE_TYPE= ``` ## Install dependency ```shell yum install -y patch autoconf automake libtool ``` ## Build liberpal-stub ```shell cd "${path_to_inclavare_containers}/ra-tls" make cp pal/liberpal-stub.so /usr/lib ``` # Build stub container image ```shell cd "${path_to_inclavare_containers}/ra-tls/stub-enclave" cat >Dockerfile <