Commit Graph

265 Commits

Author SHA1 Message Date
Karel Malec b55f4bf601 Fix backticks in docs; refine --debug comment 2017-06-07 21:11:22 +02:00
Karel Malec b714194b9d Fix the backticks 2017-06-07 20:54:21 +02:00
Karel Malec a258a803f2 Added insecure_options config list 2017-06-07 09:58:42 +02:00
Karel Malec 1957e9dfa6 Add a no_overlay option for the rkt task config. 2017-06-07 00:17:33 +02:00
Alex Dadgar 3b46fe136f small cleanup 2017-05-31 15:56:54 -07:00
Ulrik Mikaelsson 6138564f00 Implement support for docker-credential-helpers
Solves: #2334
2017-05-31 12:45:02 +02:00
Brandon Fulljames 694450314d Add security_opt to docs, alphabetize section 2017-05-19 17:04:28 -07:00
johannesa c3f4b1a2ee Added snippet for mac address in docs 2017-05-17 16:48:51 +02:00
vrenjith d3835a002f Update java.html.md 2017-04-13 12:05:37 +05:30
Alex Dadgar cdd624ff5b Add ExtraHosts to Docker driver
This PR allows job submitters to add extra hosts to the containers
/etc/hosts file.

Fixes https://github.com/hashicorp/nomad/issues/2546
2017-04-11 10:52:41 -07:00
Alex Dadgar d2a64d3fd3 wording 2017-04-07 13:02:02 -07:00
Clint Armstrong c46ec657e3 Update docs to clarify that user defined networks are required 2017-04-07 15:58:16 -04:00
Clint Armstrong d71ddcb756 Allow specifying container IP with docker driver 2017-04-07 11:56:07 -04:00
Alex Dadgar eaaa259812 Merge pull request #2379 from Gerrrr/doc/latest-tag
Add caveat about always pulling latest tag to docker driver docs
2017-03-01 10:09:38 -08:00
Aleksandr Sorokoumov e05b7b7e3a Add caveat about always pulling latest tag to docker driver docs 2017-03-01 00:25:57 +01:00
jmvacdmon 1f540462e5 change example to logging docker driver 2017-02-28 13:51:36 +01:00
Chris b4d9714328 Fix syntax of docker.cleanup.image example
I found this syntax issue because I copy-pasted the snippet into my config file and attempted to run Nomad with it. Whoops
2017-02-27 16:34:43 -05:00
Alex Dadgar 10edf881fc More auth docs 2017-02-27 11:02:01 -08:00
Alex Dadgar aa05ecc37c Merge pull request #2361 from hashicorp/f-docker-coordination
Docker Image Coordinator and caching
2017-02-24 14:18:21 -08:00
Alex Dadgar b5d4f39734 Docker Image Coordinator
This PR introduces a coordinator for doing CRUD on a Docker image. It
should fix racy deletion of images. The issue before was images would be
deleted between prestart and start causing an error.
2017-02-24 13:20:40 -08:00
Michael Schurter f61b7975a3 Put access to Docker volume drivers behind flag 2017-02-23 15:47:36 -08:00
Pietro Menna 12367ce646 Improved documentation for Docker Volume Drivers
Incorporated comments from @schmichael
2017-02-23 16:01:27 -03:00
Pietro Menna 2f88d6cb68 Docker Volume Drivers
This commit adds the functionality to use Docker Volume Drivers.
2017-02-23 14:36:32 -03:00
Michael Schurter bc02869347 Expand rkt port_map docs since it confused me
(and I wrote it)

Fixes #2272
2017-02-01 16:16:12 -08:00
Alex Dadgar ee5296ba70 Deprecation notice 2017-01-23 11:32:51 -08:00
Alex Dadgar 3365688571 Remove SSL 2017-01-23 11:32:51 -08:00
Alex Dadgar 5d07eaa534 Wording 2017-01-23 10:51:57 -08:00
Theo 65bf720204 Clarify that exec copies all chroot_env directories
This was not clear to me and is very important to understand since you can quickly fill up your disk if you run batch jobs.
2017-01-23 08:13:27 +01:00
Alex Dadgar 78deb8b292 Support setting class_path and class name.
This PR enhances the java driver to allow setting the class path and
class name to run. It also fixes an issue that would make the Java
driver attempt to chroot regardless of operating system (this never
effected a released version of Nomad).
2017-01-13 16:03:11 -08:00
Cameron Davison 88a462d5b9
add force_pull to docker driver 2017-01-10 16:54:01 -06:00
Alex Dadgar 746d4c7ee3 Small cleanups 2016-12-19 14:22:08 -08:00
Alex Dadgar 18739a4433 Merge pull request #1980 from dmexe/network-aliases
Add network_aliases for docker driver
2016-12-19 14:17:48 -08:00
Phil Porada c8199fb404 Removed useless word 2016-12-16 16:57:58 -05:00
Michael Schurter 5f8137d993 Document rkt --dns={host,none} 2016-12-12 10:59:56 -08:00
Dmitry Galinsky 3ec7ebac9c Add network_aliases for docker driver 2016-11-16 11:16:07 +03:00
Alex Dadgar eea35626b7 Changes the relative path from joining against the alloc dir to the
task's directory.

This PR changes the behavior when given a relative host path when
mounting docker containers. Prior to this, the behavior was to mount by
joining against the alloc/ directory. This PR changes it to be against
the task/ directory.
2016-11-10 14:47:54 -08:00
Michael Schurter 5216e9c395 Remove warning since #1862 added ports support 2016-11-09 13:57:12 -08:00
Michael Schurter b1a01a9a0f Add userns_mode docker config option
Fixes #1904
2016-11-04 16:53:56 -07:00
Seth Vargo 4a1fa67f26
Separate agent configuration into its own pages
I apologize in advance for the rather long PR, but unfortunately there
is not an easy way to break this up into smaller chunks. This separates
the agent configuration into smaller, more consumable pieces just like
the job specification.
2016-11-02 18:30:00 -04:00
Alex Dadgar 2b8d08e6fa LXC website 2016-11-01 18:59:26 -07:00
Michael Schurter b84d8212ff Add LXC docs and enable by default for lxc builds 2016-11-01 10:18:16 -07:00
Seth Vargo d145878fd2
Address feedback 2016-10-28 10:46:33 -04:00
Seth Vargo eaa72558ea
Fix broken links 2016-10-27 22:18:07 -04:00
Seth Vargo fa101d91c4
Revamp job specification documentation to be more modular and composable 2016-10-27 22:18:06 -04:00
Michael Schurter b5df74e92e Merge pull request #1862 from hashicorp/f-rkt-portmap
driver.rkt: support network configuration [waiting]
2016-10-27 11:05:55 -07:00
Alex Dadgar 150b678a6b Merge pull request #1806 from hashicorp/f-docker4mac-fixes
A couple fixes to make Docker For Mac work
2016-10-27 09:29:40 -07:00
Michael Schurter 0d30daf1fd Use rkt port example that Just Works 2016-10-25 17:11:01 -07:00
Kenjiro Nakayama 1f850d41da driver.rkt: add documentation about Networking 2016-10-25 15:41:49 -07:00
Michael Schurter 4f45aece4b Fingerprint rkt volume support and make periodic
Fix rkt docs and custom volume mounting
2016-10-25 09:46:49 -07:00
Michael Schurter fa7e83dcdd Document relative vs absolute volume paths 2016-10-25 09:46:49 -07:00
Michael Schurter 49ed6da0ad Enable rkt and docker volume mounting by default 2016-10-25 09:46:49 -07:00
Michael Schurter 83a11fc93b Bump minimum required rkt version; update docs
Make section names match between docker and rkt
2016-10-25 09:46:49 -07:00
Evan Phoenix 4639f43653 Add caveat about Docker For Mac in the docs 2016-10-12 17:07:21 -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
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
Michael Schurter f0173b361f Fix docker docs; add volumes/logging to changelog 2016-10-07 12:28:42 -07:00
Michael Schurter 44219cc083 Put docker volume support behind conf flag
Also add tests and fix bug with logging driver configuration.
2016-10-03 15:02:50 -07:00
Seth Vargo cbfa0b2df5
Fix formatting and add more examples to driver docs 2016-10-03 17:35:20 -04:00
Seth Vargo 3fd682076c Remove raw-exec example 2016-10-03 17:11:10 -04:00
Seth Vargo 36da4df3b1 Remove exec example 2016-10-03 17:10:53 -04:00
Seth Vargo 283ab84cdf
Update driver docs with constraint examples 2016-10-03 17:01:24 -04:00
Seth Vargo c60962045a
Fix docker args docs 2016-09-27 19:14:10 -07:00
Theo Hultberg adc0da890d Clarify that the Java driver needs root on Linux
Update the Java task driver docs to clarify that Nomad needs to run as root on Linux.
2016-09-12 18:22:31 +02:00
Dave Cohen b2a9f9db07 one last tiny pedantic fix, I swear. 2016-08-27 09:04:01 -04:00
Dave Cohen e5c39e53da more tiny doc fixes 2016-08-27 08:56:39 -04:00
Dave Cohen 7c31740e6d small spelling correction 2016-08-27 08:18:02 -04:00
ramukima 17b902f20f issue-1588 : Allow extra driver config args as a passthrough for qemu executable from a task specification 2016-08-15 23:36:13 -04:00
Diptanu Choudhury 9a75052d2c Merge pull request #1518 from pubnub/feature/chroot-map-rebase
Add config field to specify chroot mapping for exec driver
2016-08-10 17:00:03 -07:00
Kenjiro Nakayama 11a8a7218e Add debug option to rkt task config 2016-08-09 09:01:05 +09:00
Jay Oster 20d3d00b29 Add documentation for chroot_env client configuration 2016-08-05 15:59:06 -07:00
Alex Dadgar 096956257d changelog 2016-08-05 10:47:44 -07:00
Mathias Lafeldt d91f7dbdf8
Docker driver: allow to configure working directory 2016-08-03 16:18:15 +02:00
Alex Dadgar cec6d8a1eb remove gating of ipc, user ns and pidmode based on hosts priviledge mode config 2016-08-02 16:02:34 -07:00
Dara Kong 82e08d0606 Docs: Fix list of chroot directories
The chroot list was updated in be1266e42d
2016-07-20 18:13:06 -07:00
Diptanu Choudhury 917b687d95 Merge pull request #1440 from nak3/fix-allocating-ports-example
[docs] Write allocate ports example accurately
2016-07-20 10:08:11 -07:00
Kenjiro Nakayama d29579daf0 [docs] Write allocate ports example accurately in the doc of the docker driver 2016-07-20 20:55:42 +09:00
Kenjiro Nakayama 55d8862a81 Use array for jvm_options example in JAVA Driver 2016-07-20 16:31:44 +09:00
Mathias Lafeldt ace9cfa272
Fix indent of args block 2016-07-19 19:44:03 +02:00
Mathias Lafeldt a81e4fa3a7
Remove unrelated code snippet from docs 2016-07-19 19:39:22 +02:00
Mathias Lafeldt 722669451a
Fix typos in documentation 2016-07-18 16:24:30 +02:00
Diptanu Choudhury 91062dd83c Updated docs 2016-06-21 16:55:23 -07:00
Diptanu Choudhury ed67f1a347 Merge pull request #1285 from hashicorp/fix-selinux-options
Added a client options for setting selinux options
2016-06-16 22:45:24 +02:00
Diptanu Choudhury 266c417ac8 Changed the client options for docker volume selinux labels 2016-06-16 21:41:02 +01:00
Alex Dadgar 8765c25ce2 correct the dynamic port specification 2016-06-16 11:27:42 -07:00
Daniel Kerwin df7f5175a8 Add support for shm_size to docker driver. Required update of go-dockerclient
to more recent version (ba4298ecf4cfa216f1cce2befbf653359f62c722).
2016-05-27 12:30:04 +02:00
Diptanu Choudhury 2f5575962d Added doc for the SSL key of the docker driver config 2016-04-22 13:23:22 -07:00
Alex Dadgar a5a75e11d9 website 2016-04-14 13:04:04 -07:00
Alex Dadgar 78adfa8ed6 changelog + docker GC cleanup 2016-04-14 10:52:38 -07:00
Paul Hinze 044978783f client/docker: add `interactive` option
Equivalent to `docker run --interactive` - keeps STDIN open.

Also adds docs for both `tty` and `interactive` docker config.
2016-04-08 12:51:07 -05:00
Diptanu Choudhury 2601468708 Making the load a list of strings and added website docs 2016-03-30 17:23:29 -07:00
Alex Dadgar 7d2931d61f Clarify client options in drivers 2016-03-22 14:29:47 -07:00
Alex Dadgar 40adf40549 document artifact downloading 2016-03-16 09:56:04 -07:00
Matt ef5612212e Typo in docker.html.md
Fixing misspelling in docs.
2016-03-14 10:01:40 -04:00
Abhishek Chanda 3260254cb4 Enable passing DNS info to the rkt driver 2016-03-08 18:59:11 -08:00
Erik Evenson bef4b0d9b6 Merge branch 'master' into study/aws-ecr-1 2016-03-06 18:18:20 -06:00
Pete Shima d34e5fe52f Fix capitalization of Nomad in doc update 2016-03-01 23:52:42 -08:00
Pete Shima 1374ba8101 Add a specific doc entry for the common error you may see when you are
using the exec driver and not running as root.
2016-03-01 23:51:11 -08:00
Erik Evenson b2a1710614 updates docs 2016-02-27 12:10:36 -06:00