Commit graph

149 commits

Author SHA1 Message Date
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
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 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
Seth Vargo fa101d91c4
Revamp job specification documentation to be more modular and composable 2016-10-27 22:18:06 -04: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 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 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
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
Kenjiro Nakayama d29579daf0 [docs] Write allocate ports example accurately in the doc of the docker driver 2016-07-20 20:55:42 +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 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
Erik Evenson b2a1710614 updates docs 2016-02-27 12:10:36 -06:00
Stig Kleppe-Jørgensen 0164b53a33 Spelling: intepretable --> interpretable 2016-02-14 16:21:38 +01:00
Alex Dadgar e6e7c395df Merge pull request #775 from hashicorp/d-interpreted-vars
Documentation for interpreted variables
2016-02-11 08:40:31 -08:00
Alex Dadgar 40f510f168 interpreted variable docs 2016-02-06 15:35:07 -08:00
Diptanu Choudhury d0b6fb1993 Updated the docker auth config 2016-02-06 05:47:56 -08:00
Diptanu Choudhury 745bfaae7b Reading dockercfg files for authenticating with private registries 2016-02-06 05:43:30 -08:00
Alex Dadgar 5018f5dd1e Only interpret vars wrapped in braces 2016-02-04 17:26:46 -08:00
Ryan Slade ff8b50b8ee Update docker.html.md
Add a missing quote.
2016-01-14 17:58:40 +02:00
Alex Dadgar e41435e272 Documentation 2016-01-11 11:12:09 -08:00
Bastiaan Bakker 63f8f60314 add documentation for ipc_mode and uts_mode 2016-01-10 22:19:33 +01:00
Bastiaan Bakker fcfa8373b2 Add options ipc_mode, pid_mode and uts_mode to docker driver.
May only be used if priviliged mode is enabled in driver config.
2016-01-08 23:34:49 +01:00
jorge.marey f2b89d2943 Fix dns_search_domains option in the documentation. 2015-12-15 22:22:58 +01:00
Chris Bednarski 4063b6583e Added docker.tls config file options and docs 2015-11-20 15:47:03 -08:00
Carlos Diaz-Padron 341e9da221 Fix small typo in Docker auth docs 2015-11-19 23:11:08 -08:00
Diptanu Choudhury 563bb60f52 Fixed the docs related to port map and networking 2015-11-18 21:03:50 -08:00
Chris Bednarski 51163eea36 Fix some typos 2015-11-18 17:49:20 -08:00
Chris Bednarski ea2756d6fb Reformat 2015-11-18 16:45:39 -08:00
Chris Bednarski b9999dffbe Merge branch 'master' into docs-networking 2015-11-18 16:40:20 -08:00
Chris Bednarski 92734c6d3b Added notes about container name and UDP/TCP 2015-11-18 16:39:02 -08:00
Chris Bednarski 2338af6438 Updated docker docs with information about port_map and auth options 2015-11-18 16:30:37 -08:00
Alex Dadgar 4d817f5cbc Revert "Revert "Make drivers take arguments as a list and not as a string"" 2015-11-18 15:16:42 -08:00
Alex Dadgar 0e51375285 Revert "Make drivers take arguments as a list and not as a string" 2015-11-18 13:46:43 -08:00
Alex Dadgar 28c2934e29 Docs 2015-11-18 12:29:04 -08:00
Chris Bednarski b9fcdc400a Merge branch 'master' into f-docker-dns-config 2015-11-18 10:31:06 -08:00
Carlos Diaz-Padron 4a6c3d773d Nest Docker driver auth under object 2015-11-18 01:37:42 -08:00
Carlos Diaz-Padron de6c06d332 De-nest docker registry auth and reformat related doc 2015-11-17 23:32:57 -08:00
Chris Bednarski 03ba7f4616 Updated docs to indicate you should use a list 2015-11-17 22:05:56 -08:00
Alex Dadgar 105ff25764 Fix docker config option name in docs 2015-11-17 21:30:15 -08:00
Chris Bednarski e330107112 Reformat post-merge 2015-11-17 17:23:16 -08:00
Chris Bednarski 122220a424 Merge branch 'master' into f-docker-any-network 2015-11-17 17:22:13 -08:00
Chris Bednarski d94bd74bb5 Updated docs for networking_mode and also reformat the file 2015-11-17 17:20:28 -08:00
Chris Bednarski ffd3f114dd Merge branch 'docker-allow-to-add-labels' of https://github.com/fernandezvara/nomad into f-docker-labels 2015-11-17 16:02:42 -08:00
Antonio Fernández 2521aea7d4 updating website: docker driver configuration 2015-11-17 14:14:35 +01:00
Carlos Diaz-Padron 3fabe47229 Add note to Docker hostname to explain hostname duplication 2015-11-16 23:14:28 -08:00
Carlos Diaz-Padron 77923255b4 Add hostname parameter to Docker driver 2015-11-16 22:44:44 -08:00
Alex Dadgar bb9f2aa66c Docker privileged checks if host enabled it 2015-11-06 10:38:54 -08:00
Shiem Edelbrock 1169bef912 Updated priviliged option, added client priviliged option
- Added error checking on priviliged mode.
- Added `docker.privileged.enabled` to client config/fingerprint
2015-11-05 16:40:20 -08:00
Shiem Edelbrock c174f4819b Added task configuraton options for docker driver
- Added `priviliged` option to task config to allow containers to run in
 priviliged mode.
- Added `dns-servers` option to task config to allow containers to use
  custom DNS servers
- Added `search-domains` option to task config to allow containers to
  use custom dns search domains
- Added authentication options (under key namespace `auth.*`) to allow
  authentication on a task level for docker remote.
- Updated site docs to reflect changes
2015-11-05 10:47:41 -08:00
Alex Dadgar 8582b4d7f9 Merge pull request #299 from charlieok/patch-2
suggested clarification on automatic port mapping
2015-10-19 10:53:04 -07:00
Charlie O'Keefe f360e9e9eb Update docker.html.md 2015-10-17 15:56:05 -06:00
Charlie O'Keefe 2e08ff67bd depending how how -> depending on how 2015-10-17 14:55:55 -06:00
Charlie O'Keefe 225f93f067 suggested clarification on automatic port mapping 2015-10-17 11:54:17 -06:00
Alex Dadgar 75d158e3d5 Documentation 2015-10-15 17:28:25 -07:00
Abhishek Chanda 0af5f1390f Clarify that container is an invalid option 2015-10-13 13:31:56 -07:00
Abhishek Chanda e109057b66 Do not say the bool is set to true
This will be harmonized across all drivers soon
2015-10-12 13:40:31 -07:00
Abhishek Chanda f9bebb2f2e Add details to docker driver docs
- The driver sets a bool to `true`
- Clarify behavior when `network_mode` is `container`
2015-10-11 12:53:34 -07:00
Chris Bednarski 85098bb797 Added documentation for DOCKER_HOST and docker.endpoint; also filled in docs for docker.cleanup 2015-10-08 00:08:54 -07:00
Abhishek Chanda f3cc677527 Fix network mode
net is not a valid network mode
2015-10-02 16:11:38 -07:00
Abhishek Chanda 0cb649bd5f Enable setting networking mode for docker
This patch enables setting networking mode for the docker
driver. This does not handle the `container` mode.
Closes #175
2015-10-01 18:52:41 -07:00
Dave York b1720ea5b2 fixes a typo in the docs 2015-09-29 17:00:48 -04:00
Chris Bednarski 7021ac3ce8 Add docker 'command' to docs; cleanup some comments 2015-09-25 23:28:23 -07:00
Chris Bednarski 32d260281f Added guards to tests so we can more gracefully degrade the test suite when thing are not installed 2015-09-25 16:49:26 -07:00
Chris Bednarski ac9b7e7a31 Added group add command for docker to the docker docs 2015-09-25 11:29:38 -07:00
Chris Bednarski ac0f07cd20 Add note on configuring the agent; fix some typos 2015-09-24 23:40:30 -07:00
Chris Bednarski e4686e1872 Lowercase some cases of docker 2015-09-24 19:35:52 -07:00
Chris Bednarski 1aaef18d0a Added docker docs; updated isolation notes for QEMU 2015-09-24 19:33:06 -07:00
Armon Dadgar 0b3d488d81 website: skeleton drivers 2015-09-20 15:31:33 -07:00