Commit Graph

240 Commits

Author SHA1 Message Date
Alex Dadgar
a8cf9241f7 changelog 2016-08-05 10:47:44 -07:00
Michal Wieczorek
d5ae1cb93e Set windows containers default network mode to 'nat' 2016-08-05 06:01:26 +02:00
Diptanu Choudhury
0b02b7ad5d Merge pull request #1475 from mwieczorek/windows-hostIp-portBindings
Empty host ip for windows containers port bindings
2016-08-04 13:30:43 -07:00
Alex Dadgar
ed08b5f5b8 Merge pull request #1519 from vrenjith/master
Remove docker volumes while removing container
2016-08-04 12:54:00 -07:00
vrenjith
52c6201f4a Update docker.go
Remove container volumes
2016-08-04 11:43:50 +05:30
Mathias Lafeldt
1ad79f8a19 Docker driver: allow to configure working directory 2016-08-03 16:18:15 +02:00
Alex Dadgar
2d66cf0a7c use priviledge of the config 2016-08-02 16:10:15 -07:00
Alex Dadgar
c2a43d5540 remove gating of ipc, user ns and pidmode based on hosts priviledge mode config 2016-08-02 16:02:34 -07:00
Alex Dadgar
402d69b63b disable swap 2016-07-28 12:17:00 -07:00
Michal Wieczorek
599d6f9153 Empty host ip for windows containers port bindings 2016-07-28 00:00:57 +02:00
Diptanu Choudhury
51149e4381 Merge pull request #1321 from mwieczorek/f-windows-binds
Volume binds for windows containers
2016-07-18 10:20:44 -06:00
Wojciech Bederski
e922200b34 Fix docker driver lockup during nomad boot
Unit mismatch caused docker driver to wait almost indefinitely during boot 
(when one or more containers were a bit uncooperative during StopContainer())
This should fix problems described in  #1202
2016-06-28 14:26:47 +02:00
Diptanu Choudhury
964e133c9e Merge pull request #1335 from hashicorp/f-set-docker-timeout
Setting a timeout in the docker client
2016-06-21 17:00:14 -07:00
Diptanu Choudhury
f385e33181 Setting a timeout in the docker client 2016-06-21 16:58:21 -07:00
Diptanu Choudhury
0b608e23ea Making SSL default 2016-06-21 16:41:14 -07:00
Michal Wieczorek
ff6a5aa799 Volume binds for windows containers 2016-06-20 21:46:33 +02:00
Sean Chittenden
9656a2045c Initialize the stats helpers before accessing them for the first time 2016-06-17 13:23:30 -07:00
Alex Dadgar
30edb676fa debug message when stopping container 2016-06-17 11:52:44 -07:00
Diptanu Choudhury
4ecba7c7c2 Changed the client options for docker volume selinux labels 2016-06-16 21:41:02 +01:00
Diptanu Choudhury
f3a805c6a5 Added documentation 2016-06-15 02:42:15 +02:00
Diptanu Choudhury
f091e2ec82 Added a client options for setting selinux options 2016-06-15 02:33:09 +02:00
Alex Dadgar
591104f848 Merge pull request #1260 from hashicorp/f-alloc-stats-struct
Allocation resources returned in a struct
2016-06-12 11:18:57 -07:00
Diptanu Choudhury
53a57cae79 Fix the calculation of total ticks for docker and exec 2016-06-12 18:08:35 +02:00
Alex Dadgar
1a7df4e7d2 Allocation resources returned in a struct 2016-06-11 21:04:10 -07:00
Diptanu Choudhury
b8fbdb78ca Using a different client for collecting stats and waiting on containers 2016-06-11 20:37:29 +02:00
Diptanu Choudhury
d1fdd27f86 Moving the clkspeed code to helper 2016-06-11 17:31:49 +02:00
Diptanu Choudhury
304403a2f8 Extracted a method for getting clock speed 2016-06-11 02:07:28 +02:00
Diptanu Choudhury
4ac1c673aa Implementing the total ticks per task for the docker driver 2016-06-10 23:33:25 +02:00
Alex Dadgar
693c8f9e42 Alloc-status only shows measured statistics and fixes to CPU calculations 2016-06-10 10:38:29 -07:00
Alex Dadgar
17af581d93 Annotate what is measured 2016-06-09 19:45:41 -07:00
Diptanu Choudhury
8c931a12ee Returning an error if stats collection hasn't started yet for a new docker container 2016-06-06 18:52:54 -07:00
Diptanu Choudhury
15e79c3783 Changing the api of the stats endpoints 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
03c9d94a2b Making the call to Stats on a go-routine 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
3a2cce2419 Simplified the docker stats collection 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
6132ccc230 Added pidstats in task resource usage struct 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
3192e318e9 Renamed CpuUsage to CpuStats 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
30cbfe1f71 Implemented cpu stats 2016-05-28 19:51:22 -07:00
Diptanu Choudhury
ea1370d426 Fixed implementation of the docker stats 2016-05-28 19:51:22 -07:00
Diptanu Choudhury
1cae57aee9 Add the Stats api to driverhandle 2016-05-28 19:42:34 -07:00
Daniel Kerwin
98b227fecf 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
Sean Chittenden
29be52f762 Speling police 2016-05-15 09:41:34 -07:00
Ivo Verberk
e7efe615fd Docker labels configuration should be of type "array" in schema 2016-04-25 23:58:31 +02:00
Alex Dadgar
98aa9e6306 Timeout docker connections after 1 minute 2016-04-22 11:11:38 -07:00
Alex Dadgar
6b94f6b2b5 Remove unused field 2016-04-14 11:05:20 -07:00
Alex Dadgar
6e609fc60e changelog + docker GC cleanup 2016-04-14 10:52:38 -07:00
Alex Dadgar
3703ff4327 Merge pull request #1071 from hashicorp/b-docker-fix-gc
GC Docker containers and images after the container exits
2016-04-14 10:26:37 -07:00
Diptanu Choudhury
5bc6d3f3bd Fixing the API call of stopping container 2016-04-12 02:29:28 -07:00
Diptanu Choudhury
4d6a2dcda7 Removing container and image once the wait from docker api returns 2016-04-12 00:52:45 -04:00
Ivo Verberk
f68a57d272 Add interactive option to the Docker driver configuration schema 2016-04-10 12:20:01 +02:00
Ivo Verberk
51755c513f Implement configuration validation for all task drivers 2016-04-10 00:42:57 +02:00