[docs] Add instruction to change the docker-compose file for the simulation mode (#301)
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_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`:
```