Docker for mac auto quit

I get a very similar log in console to a above starting with NSInternalInconsistencyException. Machine was left idle from about 5pm.

15/06/2016 20:54:33.269 Docker[16631]: name:NSInternalInconsistencyException
15/06/2016 20:54:33.269 Docker[16631]: reason:Failed to set posix_spawn_file_actions for fd -1 at index 0 with errno 9
15/06/2016 20:54:33.273 Docker[16631]: return adress:[140735552992474, 140735788474238, 140735553414333, 140735770777693, 4320518519, 4320533139, 140735697406269, 140735697359883, 140735697375899, 140735697373952, 140735844361438, 140735844352833]
15/06/2016 20:54:33.274 Docker[16631]: function:0 CoreFoundation 0x00007fff8ca4b4f2 __exceptionPreprocess + 178
15/06/2016 20:54:33.274 Docker[16631]: function:1 libobjc.A.dylib 0x00007fff9aaddf7e objc_exception_throw + 48
15/06/2016 20:54:33.274 Docker[16631]: function:2 CoreFoundation 0x00007fff8cab24bd +[NSException raise:format:] + 205
15/06/2016 20:54:33.274 Docker[16631]: function:3 Foundation 0x00007fff999fd85d -[NSConcreteTask launchWithDictionary:] + 2494
15/06/2016 20:54:33.274 Docker[16631]: function:4 Docker 0x000000010185e177 TTSf4gs_d___TZFC6Docker7Backend15sendRequestSyncfSST5errorGSqSS_4respSS + 791
15/06/2016 20:54:33.274 Docker[16631]: function:5 Docker 0x0000000101861a93 TFZFC6Docker7Backend27listenForDockerStateChangesFT_T_U_FT_T + 1459
15/06/2016 20:54:33.275 Docker[16631]: function:6 libdispatch.dylib 0x00007fff9540493d _dispatch_call_block_and_release + 12
15/06/2016 20:54:33.275 Docker[16631]: function:7 libdispatch.dylib 0x00007fff953f940b _dispatch_client_callout + 8
15/06/2016 20:54:33.275 Docker[16631]: function:8 libdispatch.dylib 0x00007fff953fd29b _dispatch_root_queue_drain + 1890
15/06/2016 20:54:33.275 Docker[16631]: function:9 libdispatch.dylib 0x00007fff953fcb00 _dispatch_worker_thread3 + 91
15/06/2016 20:54:33.275 Docker[16631]: function:10 libsystem_pthread.dylib 0x00007fff9e02a4de _pthread_wqthread + 1129
15/06/2016 20:54:33.275 Docker[16631]: function:11 libsystem_pthread.dylib 0x00007fff9e028341 start_wqthread + 13
15/06/2016 20:54:33.306 Docker[16631]: Terminating com.docker.osx.hyperkit.linux and waiting until exit
15/06/2016 20:54:33.314 Docker[16644]: Received SIGTERM, shutting down
15/06/2016 20:54:33.315 Docker[16644]: Stop 1 children with order 1: com.docker.driver.amd64-linux (pid 16650)
15/06/2016 20:54:33.315 Docker[16644]: Signal terminated to com.docker.driver.amd64-linux (pid 16650)
15/06/2016 20:54:33.323 Docker[16631]: *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Failed to set posix_spawn_file_actions for fd -1 at index 0 with errno 9’
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8ca4b4f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff9aaddf7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff8cab24bd +[NSException raise:format:] + 205
3 Foundation 0x00007fff999fd85d -[NSConcreteTask launchWithDictionary:] + 2494
4 Docker 0x000000010185e177 TTSf4gs_d___TZFC6Docker7Backend15sendRequestSyncfSST5errorGSqSS_4respSS + 791
5 Docker 0x0000000101861a93 TFZFC6Docker7Backend27listenForDockerStateChangesFT_T_U_FT_T + 1459
6 libdispatch.dylib 0x00007fff9540493d _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff953f940b _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff953fd29b _dispatch_root_queue_drain + 1890
9 libdispatch.dylib 0x00007fff953fcb00 _dispatch_worker_thread3 + 91
10 libsystem_pthread.dylib 0x00007fff9e02a4de _pthread_wqthread + 1129
11 libsystem_pthread.dylib 0x00007fff9e028341 start_wqthread + 13
)
15/06/2016 20:54:33.323 Docker[16631]: Signal SIGABRT caught, terminating
15/06/2016 20:54:33.327 Docker[16650]: sending SIGTERM to com.docker.hyperkit pid 16653
15/06/2016 20:54:33.540 Docker[16644]: EOF on watchdog pipe: shutting down
15/06/2016 20:54:34.956 Docker[16650]: virtio-net-vpnkit: initialising, opts=“uuid=cd1f9730-4e9f-47d4-92ef-c4d51fe46664,path=/Users/smaloney/Library/Containers/com.docker.docker/Data/s50,macfile=/Users/smaloney/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/mac.0”
15/06/2016 20:54:34.956 Docker[16650]: Interface will have uuid cd1f9730-4e9f-47d4-92ef-c4d51fe46664
15/06/2016 20:54:34.956 Docker[16650]: Connection established with MAC=c0:ff:ee:c0:ff:ee and MTU 1500
15/06/2016 20:54:34.956 Docker[16650]: virtio-9p: initialising path=/Users/smaloney/Library/Containers/com.docker.docker/Data/s40,tag=db
15/06/2016 20:54:34.956 Docker[16650]: virtio-9p: initialising path=/Users/smaloney/Library/Containers/com.docker.docker/Data/s51,tag=port
15/06/2016 20:54:34.956 Docker[16650]: linkname /Users/smaloney/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
15/06/2016 20:54:34.956 Docker[16650]: COM1 connected to /dev/ttys003
15/06/2016 20:54:34.956 Docker[16650]: COM1 linked to /Users/smaloney/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
15/06/2016 20:54:34.986 Docker[16647]: Fatal unexpected exception: Transfuse.Socket_closed
15/06/2016 20:54:34.985 Docker[16648]: PPP.listen: closing connection
15/06/2016 20:54:34.994 Docker[16644]: Reap com.docker.osxfs (pid 16647): exit status 1
15/06/2016 20:54:35.003 Docker[16649]: VM has shutdown at 2016-06-15 20:54:34 +0100 IST
15/06/2016 20:54:35.008 Docker[16644]: Reap com.docker.driver.amd64-linux (pid 16650): exit status 0
15/06/2016 20:54:35.020 Docker[16644]: Stop 2 children with order 2: com.docker.osxfs (pid 16647), com.docker.slirp (pid 16648)
15/06/2016 20:54:35.020 Docker[16644]: Signal terminated to com.docker.slirp (pid 16648)
15/06/2016 20:54:35.024 Docker[16644]: Reap com.docker.slirp (pid 16648): signal: terminated
15/06/2016 20:54:35.124 Docker[16644]: Stop 1 children with order 3: com.docker.backend (pid 16649)
15/06/2016 20:54:35.124 Docker[16644]: Signal terminated to com.docker.backend (pid 16649)
15/06/2016 20:54:35.129 Docker[16644]: Reap com.docker.osx.hyperkit.linux (pid 16649): signal: terminated
15/06/2016 20:54:35.233 Docker[16644]: Stop 1 children with order 4: com.docker.db (pid 16646)
15/06/2016 20:54:35.234 Docker[16644]: Signal terminated to com.docker.db (pid 16646)
15/06/2016 20:54:35.242 Docker[16644]: Reap com.docker.db (pid 16646): exit status 1

Other threads with same issue