-
Notifications
You must be signed in to change notification settings - Fork 1
Gramine base support #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cloud-computing/gramine/README.md
Outdated
|
||
4. Run the app: | ||
```shell | ||
docker run --device=/dev/sgx/enclave -v /iexec_in:/iexec_in -v /iexec_out:/iexec_out -v /var/run/aesmd/aesm.socket:/var/run/aesmd/aesm.socket -v $PWD/encryptedData:/workplace/encryptedData -v /opt/secret-prov/certs/:/graphene/attestation/certs/ --net=host -e session=${SESSION_ID} -e sps=localhost:4433 tee-gramine-python-hello-world:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--net=host + sps=localhost:4433 ?
We should be in a a docker network IMO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/dev/sgx_enclave
instead of /dev/sgx/enclave
?
What about /dev/sgx_provision
which is provided as well with a native support in Linux kernel ?
What is the prerequisite to have /var/run/aesmd/aesmd.sock
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say this README should be an example for localhost running. Let's keep it simple!
Docker network will be covered in the script example I will provide later :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just saw, that devices are mounted on /dev/sgx/enclave
on Azure.
My second question becomes what of /dev/sgx/provision
?
Co-authored-by: Jérémy James Toussaint <33313130+jeremyjams@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
No description provided.