This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git
The following commit(s) were added to refs/heads/master by this push:
new b9515c3 [docs] Add instruction to change the docker-compose file for
the simulation mode (#301)
b9515c3 is described below
commit b9515c332fcfbd4b51d17d0d636498dbc1a33e7e
Author: Mingshen Sun <[email protected]>
AuthorDate: Mon May 18 10:47:48 2020 -0700
[docs] Add instruction to change the docker-compose file for the simulation
mode (#301)
---
docs/my-first-function.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/docs/my-first-function.md b/docs/my-first-function.md
index 738f05f..a377e8f 100644
--- a/docs/my-first-function.md
+++ b/docs/my-first-function.md
@@ -150,6 +150,19 @@ $ export AS_ALGO="sgx_epid"
$ export AS_URL="https://api.trustedservices.intel.com:443"
```
+Under the simulation mode, you also need to change the
+`docker-compose-ubuntu-1804.yml` file accordingly to remove useless
+device/volume mappings which may not exist. That is, comment out these lines
for
+all services in the `docker-compose` config file:
+
+```
+# - type: bind
+# source: /var/run/aesmd/aesm.socket
+# target: /var/run/aesmd/aesm.socket
+# devices:
+# - /dev/isgx
+```
+
At last, launch all services with `docker-compose`:
```
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]