Phala-Network / solo-mining-scripts

Apache License 2.0
32 stars 26 forks source link

docker compose device logic bug report #28

Open g302ge opened 2 years ago

g302ge commented 2 years ago

On my ubuntu 20.04 machine, I found after installed phala scipts. the docker-compose.yaml device is set

devices:
     - /dev/sgx_enclave
     - /dev/sgx_provision

Using this configuration will not let the pruntime work correctly . I have to manually change it to below

devices:
     - /dev/sgx/enclave:/dev/sgx/enclave
     - /dev/sgx/provision:/dev/sgx/provision

I am not confirmed if it is a bug or my machine env problem

h4x3rotab commented 2 years ago

Could you check the kernel version?

g302ge commented 2 years ago

5.8

h4x3rotab commented 2 years ago

@skysummerice Please check why it is possible?

g302ge commented 2 years ago

I think we need some approach to set these auto