You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/06/09 20:26:38 UTC

[GitHub] [incubator-teaclave] mssun edited a comment on issue #346: Error: Failed to new the enclave

mssun edited a comment on issue #346:
URL: https://github.com/apache/incubator-teaclave/issues/346#issuecomment-641505307


   Thanks for the report.
   
   If you want to use in the simulation mode, please configure with cmake `-DSGX_SIM_MODE=ON` when building the platform. Please see this [document](https://github.com/apache/incubator-teaclave/blob/master/docs/my-first-function.md#simulation-mode) for more about simulation mode. Otherwise, you don't have to remove SGX device mapping in the docker compose file.
   
   Seems that you built the platform in hardware mode, but removed the essential device mappings of SGX from the docker container. That's why you got the `SgxError` when start an SGX enclave (in hardware mode).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org