Alex Dadgar
e0224b8a35
Refactor task runner to include driver starting into restart policy and add recoverable errors
2016-02-28 16:56:05 -08:00
Diptanu Choudhury
7f8f6712c5
Adding version information to snapshots
2016-02-24 19:06:30 -08:00
Diptanu Choudhury
37e8248495
Merge pull request #842 from hashicorp/f-validate-command
...
drivers: validate that command contains one field
2016-02-23 13:45:10 -08:00
Alex Dadgar
704ad6ecb4
validate that command contains one field
2016-02-23 10:19:40 -08:00
Diptanu Choudhury
8f21b753ba
Merge pull request #819 from hashicorp/r-syslog-collector
...
Refactored syslog server and log rotator
2016-02-23 10:15:14 -08:00
Diptanu Choudhury
8cbd9fe1d9
Throwing an error if Nomad can't create an docker auth object
2016-02-22 13:20:06 -08:00
Diptanu Choudhury
3e50615bac
Throwing an error if Nomad can't create an docker auth object
2016-02-22 13:00:54 -08:00
Diptanu Choudhury
3ba626df72
Renamed packages
2016-02-19 13:08:25 -08:00
Diptanu Choudhury
85b2e743de
Changing log messages in the docker driver
2016-02-12 13:33:09 -08:00
Alex Dadgar
2dfa22b9ca
Update go-plugin
2016-02-12 12:16:56 -08:00
Diptanu Choudhury
26d308dcb8
Fixed an issue with purge
2016-02-11 14:44:35 -08:00
Diptanu Choudhury
6c27ae6b91
Renamed the syslog package to logcollector
2016-02-10 18:47:46 -08:00
Diptanu Choudhury
002dee9b3e
Handling errors when client can't re-attach to syslog collector
2016-02-10 16:40:36 -08:00
Diptanu Choudhury
dc25fd42d6
Updating log configs
2016-02-10 15:04:41 -08:00
Diptanu Choudhury
045a653bb0
Adding newlines to loglines
2016-02-10 10:18:14 -08:00
Diptanu Choudhury
4963026eab
Writing log lines from docker to files
2016-02-10 07:52:15 -08:00
Diptanu Choudhury
7eedcbfcf6
Starting the syslog collector along with a docker container
2016-02-09 18:24:30 -08:00
Diptanu Choudhury
9a6da514e1
Fixed merge conflicts
2016-02-08 10:24:27 -08:00
Diptanu Choudhury
c4fd236026
Updated the docker auth config
2016-02-06 05:47:56 -08:00
Diptanu Choudhury
1343e481f3
Reading dockercfg files for authenticating with private registries
2016-02-06 05:43:30 -08:00
Diptanu Choudhury
9d6b09c378
Passing the log rotation parameters to docker daemon
2016-02-05 00:22:31 -08:00
Alex Dadgar
03aca9887b
Client handles updates to KillTimeout and Restart Policy
2016-02-03 19:43:44 -08:00
Ivo Verberk
b9de8704ee
Rename IPPort env variable and add a mapped host port to the env.
2016-01-25 20:46:01 +01:00
Ivo Verberk
f71db5e645
Pass a combination of ip and port to the task environment.
...
The different labels can be on different IPs.
2016-01-24 10:31:03 +01:00
Alex Dadgar
e01cd9c293
Have docker use the task environment in the context
2016-01-22 15:00:36 -08:00
Alex Dadgar
e91abac0f6
Fix a bunch of tests
...
Up timeouts
trusty travis beta
Increase timeouts
2016-01-20 16:03:53 -08:00
Alex Dadgar
adf05e00bf
Fix docker tests
2016-01-19 15:35:01 -08:00
Alex Dadgar
b8a42786f3
merge
2016-01-11 09:58:26 -08:00
Bastiaan Bakker
bf4217e4e8
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
Alex Dadgar
9f44780f89
User specifiable kill timeout and operator configurable max
2015-12-22 16:10:30 -08:00
Alex Dadgar
d536fe9027
Remove all calls to the default logger
2015-12-11 15:02:13 -08:00
Alex Dadgar
25e47465c1
Do Once docker client initialization
2015-12-10 13:49:29 -08:00
Diptanu Choudhury
0c499f78b3
Moving the args to helper
2015-11-26 14:13:19 -08:00
Alex Dadgar
ef1937cd53
Standardize log messages in fingerprinters to DEBUG
2015-11-24 11:06:51 -08:00
Chris Bednarski
2970006488
Change println to printf
2015-11-20 16:00:58 -08:00
Chris Bednarski
30e7ef3eb9
Don't show endpoint when we're not using it
2015-11-20 15:53:38 -08:00
Chris Bednarski
2563480ddf
Added docker.tls config file options and docs
2015-11-20 15:47:03 -08:00
Chris Bednarski
63439ee3f7
Squash []map[string]type for port_map and labels into map[string]type
2015-11-19 21:29:37 -08:00
Chris Bednarski
f75404ecf7
Fixed some issues with expose, port mapping, and environment variables
...
- Port mapping now works for reserved ports as well as dynamic ports
- Environment variables were being set twice in two different ways; now they are only set once
- Comprehensive tests for exposed ports, forwarded ports, and environment variables
- Cleaned up / DRYed up a lot of test code
2015-11-19 19:08:21 -08:00
Chris Bednarski
8c1d762a75
Export DockerHandle and change tests to use DockerHandle.ContainerID()
2015-11-19 14:20:41 -08:00
Chris Bednarski
84f9bb1367
Add ContainerID() method to get the containerID from a handle
2015-11-19 13:57:18 -08:00
Antonio Fernández
fde90ca2c2
fix docker port allocation?
2015-11-19 19:15:25 +01:00
Alex Dadgar
7357979089
Revert "Revert "Make drivers take arguments as a list and not as a string""
2015-11-18 15:16:42 -08:00
Alex Dadgar
d666f5bde1
Revert "Make drivers take arguments as a list and not as a string"
2015-11-18 13:46:43 -08:00
Alex Dadgar
5aaa0553cf
Remove returning the error
2015-11-18 12:40:34 -08:00
Alex Dadgar
62a0c5d14c
Rebase
2015-11-18 12:30:35 -08:00
Alex Dadgar
ee1887e609
Rebase
2015-11-18 12:29:04 -08:00
Chris Bednarski
c375000f08
Added missing %s to error format string
2015-11-18 11:29:49 -08:00
Chris Bednarski
85d07e72bf
Revert "Added missing %s to error format string"
...
This reverts commit f4acdfd035 .
2015-11-18 11:28:38 -08:00
Chris Bednarski
f4acdfd035
Added missing %s to error format string
2015-11-18 11:28:07 -08:00