Commit Graph

5766 Commits

Author SHA1 Message Date
Diptanu Choudhury bb2a580ef1 Implemented an LXC Driver 2016-10-12 17:18:58 -07:00
Evan Phoenix 4639f43653 Add caveat about Docker For Mac in the docs 2016-10-12 17:07:21 -07:00
Evan Phoenix e7a98d5500 Make EvalSymlink errors more verbose 2016-10-12 17:07:21 -07:00
Evan Phoenix 8864a506aa Disable the syslog logging system on Docker For Mac
The syslog logging system depends on the ability for a unix socket to be
accessed by the docker daemon in the $TMPDIR of the host. This doesn't
work on Docker For Mac because the docker daemon is running inside a VM,
and while /tmp is accessible, the filesystem used to share them doesn't
support unix socket files, and thus it doesn't work.
2016-10-12 17:07:21 -07:00
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
Alex Dadgar 969213b13a Merge pull request #1807 from hashicorp/f-executor-ctx
Send Executor Ctx separately from Launch commands
2016-10-12 13:25:58 -07:00
Alex Dadgar eec1a154ec add plugin kill 2016-10-12 13:24:22 -07:00
Alex Dadgar 86238387e7 Send Executor Ctx separately 2016-10-12 11:35:29 -07:00
Seth Vargo b40112782c
Fix spacing on API pages 2016-10-11 20:37:23 -04:00
Seth Vargo 693b072596
Separate job update strategies into different pages 2016-10-11 20:15:30 -04:00
Alex Dadgar db4e676d73 Merge pull request #1803 from hashicorp/b-vault-parse
Fix Vault Config parsing of booleans
2016-10-11 13:47:46 -07:00
Seth Vargo eff03cd40e
Fix zz 2016-10-11 16:35:53 -04:00
Michael Schurter ed5ff3a104 Merge pull request #1804 from hashicorp/f-job-env-var
Add NOMAD_JOB_NAME to task environment
2016-10-11 13:34:54 -07:00
Alex Dadgar 4c518657ec Merge pull request #1805 from barnardb/documentation-edits
Documentation edits
2016-10-11 13:32:04 -07:00
Alex Dadgar 82960c46d8 Tests 2016-10-11 13:28:18 -07:00
Ben Barnard 8c0a4196f7 Minor documentation edits for grammar and clarity
These are things I noticed as I read through the documentation.
There are a couple of minor substantive corrections as well.
2016-10-11 15:52:50 -04:00
Ben Barnard 83f647ed84 Replace "the the" with "the" in documentation and comments 2016-10-11 15:31:40 -04:00
Michael Schurter 99bd935274 Add NOMAD_JOB_NAME docs 2016-10-11 11:22:09 -07:00
Michael Schurter ca5439eca1 Add NOMAD_JOB_NAME to environment 2016-10-11 11:20:42 -07:00
Alex Dadgar 2e78c2b8b9 Changelog 2016-10-11 10:41:52 -07:00
Alex Dadgar a6e82f0327 Merge pull request #1802 from hashicorp/b-ignore-sigpipe
Skip SIGPIPE
2016-10-11 10:40:39 -07:00
Alex Dadgar 751aa114bf Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
Alex Dadgar dd1675d4bd Small spell fix 2016-10-10 15:22:14 -07:00
Alex Dadgar 3d0edaa91e Ensure templates have different destinations 2016-10-10 15:19:00 -07:00
Alex Dadgar d0731a466f Skip SIGPIPE 2016-10-10 15:12:56 -07:00
Alex Dadgar bc35eaee21 Task runner sends signals 2016-10-10 15:09:00 -07:00
Alex Dadgar 00a1234c55 Executor + Java/Raw Exec/Exec 2016-10-10 11:47:04 -07:00
Alex Dadgar 5b01b1be1b Rkt 2016-10-10 11:47:04 -07:00
Alex Dadgar 280af8f4d1 Docker + Qemu 2016-10-10 11:47:04 -07:00
Michael Schurter f0f8fd9328 Merge pull request #1797 from hashicorp/b-fix-docker-volume-docs
Fix docker docs; add volumes/logging to changelog
2016-10-10 09:50:59 -07:00
Seth Vargo 42c0f0b3ce
Fix titles 2016-10-09 15:01:59 +08:00
Seth Vargo 1d783513bd
Remove old refs 2016-10-09 14:58:31 +08:00
Seth Vargo 5dc729a6fc
Do not red code table and alerts 2016-10-09 14:56:48 +08:00
Seth Vargo 038d131ec0
Fix fonts and arrangement 2016-10-09 14:48:09 +08:00
Seth Vargo 19cfd137a2
Update operating a job to tell a cohesive story 2016-10-09 13:49:03 +08:00
Seth Vargo 2fbd4a0cba Add more examples and links to installation instructions 2016-10-08 18:58:18 +08:00
Seth Vargo 00bbcc9010 Remove armon-specific stuff 2016-10-08 18:58:03 +08:00
Seth Vargo d5dcbdbd99 Separate cluster formation into separate documentation pages 2016-10-08 18:57:51 +08:00
Seth Vargo b6ac2791eb
Move to released gem 2016-10-08 16:34:41 +08:00
Michael Schurter 1a04d7a303 Fix ticks 2016-10-07 16:43:17 -07:00
Michael Schurter 2d5f973954 Add docker volume example 2016-10-07 16:23:55 -07:00
Michael Schurter 4a8dcf7e85 Add example docker load config 2016-10-07 16:19:05 -07:00
Alex Dadgar 08eeef0140 Merge pull request #1796 from hashicorp/f-task-runner
Task runner integrates with TaskTemplateManager
2016-10-07 15:13:14 -07:00
Michael Schurter f0173b361f Fix docker docs; add volumes/logging to changelog 2016-10-07 12:28:42 -07:00
Michael Schurter d8f8048d85 Merge pull request #1767 from hashicorp/f-docker-volumes-logging
Support Docker Volumes and Logging
2016-10-07 12:10:59 -07:00
Michael Schurter f0d04bd798 Add comment and fix log line code style 2016-10-07 11:58:21 -07:00
Michael Schurter 523dbfcc81 Remove VolumesFrom feature
Since containers are named with alloc ids it's difficult to use safely.
Not to mention task scheduling ordering issues could break it as well.
2016-10-07 11:58:13 -07:00
Alex Dadgar e2d49eb4a2 Comments 2016-10-06 15:21:59 -07:00
Alex Dadgar 68c5fe78f8 Tests 2016-10-06 15:17:34 -07:00
Alex Dadgar 8fb07bb083 Fix handling of restart in TaskEvents 2016-10-06 15:06:54 -07:00