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
docklog driver/docker: collect tty container logs 2019-04-24 22:01:51 -04:00
test-resources/docker
util
config.go
config_test.go
coordinator.go
coordinator_test.go
driver.go driver/docker: Support volumes field in Windows 2019-04-25 09:02:44 -04:00
driver_darwin_test.go
driver_default.go
driver_linux_test.go
driver_pre09.go
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
driver_windows_test.go
fingerprint.go
fingerprint_test.go
handle.go
progress.go
progress_test.go
state.go
stats.go
stats_test.go
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
utils_windows_test.go driver/docker: Support volumes field in Windows 2019-04-25 09:02:44 -04:00