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:
[email protected]


With regards,
Apache Git Services

Reply via email to