I am trying to deploy teaclave on simulation mode, these are the steps I did:

```
$ git clone https://github.com/apache/incubator-teaclave.git

$ docker run --rm -v $(pwd):/teaclave -w /teaclave \
  -it teaclave/teaclave-build-ubuntu-2004-sgx-2.17.1:0.2.0 \
   bash -c ". /root/.cargo/env && \
     . /opt/sgxsdk/environment && \
     mkdir -p build && cd build && \
     git config --global --add safe.directory /teaclave && \
     cmake -DTEST_MODE=ON -DSGX_SIM_MODE=ON .. && \
     make -j"

$ (cd docker && ./run-teaclave-services.sh -m sim)
```

Output of last command is:

```
teaclave-authentication-service    | [get_driver_type edmm_utility.cpp:116] 
Failed to open Intel SGX device.         
teaclave-access-control-service    | [get_driver_type edmm_utility.cpp:116] 
Failed to open Intel SGX device.         
teaclave-authentication-service    | [get_driver_type 
/home/sgx/jenkins/ubuntuServer-release-build-with-dcap-driver-219/build_target/PROD/label/Builder-UbuntuSrv18/label_exp/ubuntu64/linux-trunk-opensource/psw/urts/linux/edmm_utility.cpp:116]
 Failed to open Intel SGX device.                                               
                             
teaclave-authentication-service    | Error: Failed to new the enclave.          
                                     
teaclave-authentication-service    |                                            
                                     
teaclave-authentication-service    | Caused by:                                 
                                     
teaclave-authentication-service    |     found SGX error: NoDevice
```

For each service.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/722
You are receiving this because you are subscribed to this thread.

Message ID: <apache/incubator-teaclave/issues/7...@github.com>

Reply via email to