open-nomad/drivers/docker
Mahmood Ali 0ee771b020 driver/docker: Support volumes field in Windows
Support Docker `volumes` field in Windows.  Previously, volumes parser
assumed some Unix-ism (e.g. didn't expect `:` in mount paths).
Here, we use the Docker parser to identify host and container paths.

Docker parsers use different validation logic from our previous unix
implementation: Docker parser accepts single path as a volume entry
(parsing it as a container path with auto-created volume) and enforces
additional checks (e.g. validity of mode).  Thereforce, I opted to use
Docker parser only for Windows, and keep Nomad's linux parser to
preserve current behavior.
2019-04-25 09:02:44 -04:00
..
cmd Plugins use parent loggers 2019-01-11 11:36:37 -08:00
docklog driver/docker: collect tty container logs 2019-04-24 22:01:51 -04:00
test-resources/docker tests: pin busybox image to a specific point tag 2018-12-15 15:03:56 -05:00
util docker: Support stats on Windows 2019-02-22 14:19:58 +01:00
config.go drivers/docker: rename logging type to driver 2019-02-28 16:04:03 -05:00
config_test.go Support driver config fields being set to nil (#5391) 2019-03-05 21:47:06 -05:00
coordinator.go docker: unexport new coordinator func 2018-11-19 23:07:07 -05:00
coordinator_test.go docker: unexport new coordinator func 2018-11-19 23:07:07 -05:00
driver.go driver/docker: Support volumes field in Windows 2019-04-25 09:02:44 -04:00
driver_darwin_test.go tests: run docker tests in macOS out of box 2019-01-08 14:35:40 -05:00
driver_default.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
driver_linux_test.go tests: IsTravis() -> IsCI() 2019-02-20 08:21:03 -05:00
driver_pre09.go client: fix bug during 0.8 state up grade that causes external drivers to fail 2019-01-30 14:22:29 -05:00
driver_test.go driver/docker: Support volumes field in Windows 2019-04-25 09:02:44 -04:00
driver_unix_test.go Switch to pre-0.9 behaviour for handling volumes 2019-04-18 14:28:45 +02:00
driver_windows.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
driver_windows_test.go chore: General Cleanup 2019-01-17 18:43:14 +01:00
fingerprint.go docker: report unhealthy in unsupported Windows (#5356) 2019-02-27 08:10:23 -05:00
fingerprint_test.go docker: report unhealthy in unsupported Windows (#5356) 2019-02-27 08:10:23 -05:00
handle.go Don't fall through 2019-01-28 09:53:19 -08:00
progress.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
progress_test.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
state.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
stats.go docker: improve stats names and comments 2019-04-02 09:18:38 -07:00
stats_test.go docker: improve stats names and comments 2019-04-02 09:18:38 -07:00
utils.go driver/docker: Support volumes field in Windows 2019-04-25 09:02:44 -04:00
utils_test.go driver/docker: Support volumes field in Windows 2019-04-25 09:02:44 -04:00
utils_unix_test.go docker: Test cleanup for windows 2019-01-17 18:43:14 +01:00
utils_windows_test.go driver/docker: Support volumes field in Windows 2019-04-25 09:02:44 -04:00