Alex Dadgar
325de0ec35
Docker privileged checks if host enabled it
2015-11-06 10:38:54 -08:00
Alex Dadgar
638f78e48c
Merge pull request #390 from the-control-group/f-docker-driver-options
...
Expanded docker driver options
2015-11-06 10:32:54 -08:00
Shiem Edelbrock
b8b8fe504c
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
467777e6fe
Merge branch 'master' of https://github.com/hashicorp/nomad into f-docker-driver-options
...
* 'master' of https://github.com/hashicorp/nomad: (59 commits)
Move the executor and spawn package into driver
Remove file watching
Check if the PID is alive instead of heartbeating through modify time
Update CHANGELOG.md
nomad/watch: add a note about the Item struct
go fmt this file
Vet errors
Search path
Update website
Make a basic executor that can be shared and fix some fingerprinting/tests
Small improvements
Use const value for AWS metadata URL
Create Spawn pkg that handles IPC with the spawn-daemon and update exec_linux to use that
Fixed the restart policy syntax
Introducing vars to create default batch and service restart policies
Fixed the tests
Declaring Batch and Service default restart policies
Fixing tests to not create a TG without restart policies
This option only work -> This option only works
leave -> leaving
...
2015-11-05 10:48:09 -08:00
Shiem Edelbrock
0521562d9c
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
Clint Shryock
add12a6a00
refactor drivers to use new getter
2015-11-05 08:55:30 -06:00
Alex Dadgar
fc5b418e7e
Update website
2015-11-03 12:57:39 -08:00
Clint
eccc117b78
Merge pull request #288 from hashicorp/f-go-getter
...
Drivers: Use go-getter for artifact retrieval, add artifact support to Exec, Raw Exec drivers
2015-10-26 10:00:29 -05:00
Clint Shryock
1e07daa680
drivers: Add/Use go-getter to fetch remote binaries
...
Updates Qemu, Java drivers to use go-getter to fetch binaries
Adds remote artifact support for Exec, Raw Exec drivers
2015-10-26 09:40:06 -05:00
Seth Vargo
d8c2ddf128
Merge pull request #338 from charlieok/patch-3
...
resources use -> resource use
2015-10-25 13:16:35 -04:00
Seth Vargo
bbb6c03fd7
Merge pull request #336 from charlieok/patch-1
...
diver -> driver
2015-10-25 13:15:38 -04:00
Charlie O'Keefe
7879282490
resources use -> resource use
2015-10-25 11:15:14 -06:00
Charlie O'Keefe
70858f6daa
systems -> system's
2015-10-25 11:10:37 -06:00
Charlie O'Keefe
6506078ce9
diver -> driver
2015-10-25 11:06:28 -06:00
Charlie O'Keefe
6f8d128e14
will be ran -> will be run
2015-10-25 11:00:08 -06:00
Alex Dadgar
2374157fd0
Merge pull request #307 from hashicorp/qemu-checkup-doc-update
...
driver/qemu: Update docs, we use SHA256 not MD5
2015-10-19 13:35:15 -07:00
Clint Shryock
c0c8974130
driver/qemu: Update docs, we use SHA256 not MD5
2015-10-19 14:14:41 -05:00
Alex Dadgar
7a3d64965d
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
9522f147da
Update docker.html.md
2015-10-17 15:56:05 -06:00
Charlie O'Keefe
e33e48a458
depending how how -> depending on how
2015-10-17 14:55:55 -06:00
Charlie O'Keefe
2b3664377b
suggested clarification on automatic port mapping
2015-10-17 11:54:17 -06:00
Alex Dadgar
bacb89a620
Merge pull request #291 from hashicorp/d-rkt-volume-mounts-blocked
...
Document that Rkt doesn't support task directory mounting
2015-10-16 17:07:53 -07:00
Abhishek Chanda
c2ee26347b
Add docs for jvm_options
2015-10-16 12:44:43 -07:00
Alex Dadgar
6814c476b1
Rkt driver clears task environment variables
2015-10-15 18:19:13 -07:00
Alex Dadgar
c45bfc1316
Rename from bug to issue
2015-10-15 17:56:36 -07:00
Alex Dadgar
e798bc0d3f
Document that Rkt doesn't support task directory mounting
2015-10-15 17:55:26 -07:00
Alex Dadgar
f66abc0ad7
Documentation
2015-10-15 17:28:25 -07:00
Alex Dadgar
9a35533a38
Merge pull request #267 from achanda/docs
...
Some docs update
2015-10-13 14:45:36 -07:00
Abhishek Chanda
311329bac0
Clarify that container is an invalid option
2015-10-13 13:31:56 -07:00
Alex Dadgar
659e66d8f7
Update driver config names for consistency and make the trust_prefix optional
2015-10-12 14:37:56 -07:00
Alex Dadgar
e2105f0643
Separate args from exec command; inject environment variables and general cleanup of Rkt driver
2015-10-12 14:33:18 -07:00
Abhishek Chanda
d61d162799
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
Alex Dadgar
5a0551aed9
Change Docker/Rkt to set driver to 1 not true for consistency
2015-10-12 13:15:37 -07:00
Abhishek Chanda
4f694933d3
Fix formatting for qemu driver version
2015-10-11 12:55:23 -07:00
Abhishek Chanda
441971e015
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
Alex Dadgar
0d02839220
Merge pull request #237 from hashicorp/f-raw-exec-driver
...
A raw fork/exec driver that provides no isolation.
2015-10-09 11:30:12 -07:00
Alex Dadgar
bbdceca358
Better parsing of raw_exec option and updated docs
2015-10-09 11:29:59 -07:00
Chris Bednarski
6c90314a51
Merge pull request #225 from hashicorp/b-docker-port
...
Change docker default port to support windows and boot2docker
2015-10-08 23:50:11 -07:00
Alex Dadgar
c4e4861889
Documentation
2015-10-08 12:19:39 -07:00
Alex Dadgar
60346ae8ec
Actually add the files
2015-10-08 12:19:39 -07:00
Chris Bednarski
dc1d845e2c
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
43a8a1af96
Add an optional exec parameter to task config
...
This overrides the default exec command in the ACI
2015-10-07 15:15:36 -07:00
Abhishek Chanda
61b4be2389
Remove a stray comment
2015-10-06 15:56:39 -07:00
Abhishek Chanda
040518e06b
Fix network mode
...
net is not a valid network mode
2015-10-02 16:11:38 -07:00
Abhishek Chanda
ee2cd3bed0
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
e96043a441
fixes a typo in the docs
2015-09-29 17:00:48 -04:00
Chris Bednarski
5d4d044a6f
Add docker 'command' to docs; cleanup some comments
2015-09-25 23:28:23 -07:00
Chris Bednarski
723b55c049
Merge branch 'master' into b-docker-fixes
...
Conflicts:
client/driver/docker_test.go
client/driver/java_test.go
client/driver/qemu_test.go
2015-09-25 18:35:23 -07:00
Chris Bednarski
f2dd5cac18
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
Armon Dadgar
122c14965a
Merge pull request #101 from hashicorp/f-qemu-network-update
...
driver/qemu: Use Restricted Ports, additional port forwarding
2015-09-25 16:36:46 -07:00