initc3 / docker-linux-sgx

Dockerfiles for linux-sgx.
https://github.com/initc3/docker-linux-sgx/pkgs/container/linux-sgx
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Invalid SGX device #11

Open CanYouGiveMeAName opened 3 years ago

CanYouGiveMeAName commented 3 years ago

I run docker with cmd: docker run -d -it --device=/dev/isgx -v aesmd-socket:/var/run/aesmd --name test-sgx sgx_sample And get error: Info: Please make sure SGX module is enabled in the BIOS, and install SGX driver afterwards.
Error: Invalid SGX device.
Enter a character before exit ...

Can you help? Thanks

sbellem commented 3 years ago

Hi, sorry for not answering sooner. These images are a bit different than the ones provided by Intel. I wonder whether you are trying to follow an example from Intel's linux-sgx repo, but using one of the images under this repo ... Could tell me a bit more information about how for instance you built the image, which exact image you are using, and whether you are following an example or tutorial.

CanYouGiveMeAName commented 3 years ago

Hi, sorry for not answering sooner. These images are a bit different than the ones provided by Intel. I wonder whether you are trying to follow an example from Intel's linux-sgx repo, but using one of the images under this repo ... Could tell me a bit more information about how for instance you built the image, which exact image you are using, and whether you are following an example or tutorial.

Thanks for your answer. I build images with intel's Dockerfile. Intel's install PSW after sdk but not here. I think you must very good at this. So I tried to ask this question.