Commit Graph

147 Commits

Author SHA1 Message Date
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
Chris Bednarski
20b42864be Merge branch 'master' into f-docker-dns-config 2015-11-18 10:31:06 -08:00
Carlos Diaz-Padron
270631a006 Nest Docker driver auth under object 2015-11-18 01:37:42 -08:00
Carlos Diaz-Padron
fba3c573f1 De-nest docker registry auth and reformat related doc 2015-11-17 23:32:57 -08:00
Chris Bednarski
673ce8ad70 Merge branch 'master' into f-docker-dns-config 2015-11-17 21:43:04 -08:00
Chris Bednarski
bd06a84cc9 Change dns_servers and dns_search_domains from comma-delimited strings to lists 2015-11-17 21:41:00 -08:00
Chris Bednarski
a52c3df0bf Change error check to contains instead of == 2015-11-17 21:36:23 -08:00
Chris Bednarski
e252a84310 Renamed some things so it's more apparent that reserved and dynamic port mapping have very similar code 2015-11-17 21:34:07 -08:00
Chris Bednarski
d80c024627 Remove \n since this is added by the logger 2015-11-17 21:17:51 -08:00