You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/07/13 12:03:24 UTC

[GitHub] rabbah commented on a change in pull request #3871: Document OPENWHISK_TMP_DIR usage with Docker for Mac

rabbah commented on a change in pull request #3871: Document OPENWHISK_TMP_DIR usage with Docker for Mac
URL: https://github.com/apache/incubator-openwhisk/pull/3871#discussion_r202327917
 
 

 ##########
 File path: ansible/README.md
 ##########
 @@ -60,6 +60,15 @@ An expedient workaround is to add alias for `docker0` network to loopback interf
 sudo ifconfig lo0 alias 172.17.0.1/24
 ```
 
+##### Preserving configuration and log directories on reboot
+By default configuration and log data is stored in `/tmp`. However, Mac cleans the `/tmp` directory on reboot,
+resulting in failures when OpenWhisk tries to start up again. To avoid this problem, export the `OPENWHISK_TMP_DIR`
+variable with a value of `/Users/Shared`.
+
+```
+export OPENWHISK_TMP_DIR="/Users/Shared"
 
 Review comment:
   it's not just macs.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services