open-nomad/client
Evan Phoenix f8a65a3b9d Resolve alloc/state directories to make Docker For Mac happy
* In -dev mode, `ioutil.TempDir` is used for the alloc and state
directories.
* `TempDir` uses `$TMPDIR`, which os OS X contains a per user
directory which is under `/var/folder`.
* `/var` is actually a symlink to `/private/var`
* Docker For Mac validates the directories that are passed to bind and on
OS X. That whitelist contains `/private`, but not `/var`. It does not
expand the path, and so any paths in `$TMPDIR` fail the whitelist check.

And thusly, by expanding the alloc/state directories the value passed
for binding does contain `/private` and Docker For Mac is happy.
2016-10-12 17:06:25 -07:00
..
allocdir Replace "the the" with "the" in documentation and comments 2016-10-11 15:31:40 -04:00
config VaultClient for Nomad Client 2016-08-24 09:43:45 -04:00
driver add plugin kill 2016-10-12 13:24:22 -07:00
fingerprint Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
getter Update GetArtifact by removing unused logger 2016-08-06 23:37:32 +09:00
stats Update after the review 2016-08-11 10:53:33 +09:00
structs Allocation resources returned in a struct 2016-06-11 21:04:10 -07:00
testutil Moved the dockerIsConnected to testutils 2016-03-25 17:15:51 -07:00
vaultclient Tests 2016-10-11 13:28:18 -07:00
alloc_runner.go Getting snapshot of allocation from remote node (#1741) 2016-10-03 09:59:57 -07:00
alloc_runner_test.go Replace "the the" with "the" in documentation and comments 2016-10-11 15:31:40 -04:00
client.go Resolve alloc/state directories to make Docker For Mac happy 2016-10-12 17:06:25 -07:00
client_test.go Tests 2016-10-11 13:28:18 -07:00
consul_template.go Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
consul_template_test.go Tests 2016-10-06 15:17:34 -07:00
restarts.go Fix handling of restart in TaskEvents 2016-10-06 15:06:54 -07:00
restarts_test.go Fix handling of restart in TaskEvents 2016-10-06 15:06:54 -07:00
serverlist.go Retry all servers on RPC call failure 2016-09-23 11:44:48 -07:00
serverlist_test.go noServers -> noServersErr 2016-09-26 15:12:35 -07:00
task_runner.go Replace "the the" with "the" in documentation and comments 2016-10-11 15:31:40 -04:00
task_runner_test.go Tests 2016-10-06 15:17:34 -07:00
util.go Add sanity check to SaveState 2016-09-02 16:07:06 -07:00
util_test.go Use consul/lib's RandomStagger 2016-06-10 15:48:36 -04:00