• Steve Azzopardi's avatar
    Fix default cache volume docker-windows register · 840ba005
    Steve Azzopardi authored
    When the user specifies `docker-windows` `/cache` is still used as a default
    value, which is never correct in any cache. The default cache volume for
    `docker-windows` needs to be `c:\\cache`.
    
    With this, there is only one limitation, the detection of `c:\\cache`
    when the user specified volumes on registration. With the following
    specification `c:\\cache:c:\\User\\ContainerAdministrator\\cache` we fail
    to add the `c:\\cache` to be used as a cache directory and the reason
    for this is because a simple string match is being done. For Linux, it's
    easier since we can split the string with `:` but for Windows `:` is
    part of the volume mounting. To properly support this scenario we
    require to expose the volume parser from Docker which is not ideal. A
    note in the documnetation was added about this.
    
    closes #3915
    840ba005
Name
Last commit
Last update
..
helpers Loading commit data...
builds_helper.go Loading commit data...
builds_helper_test.go Loading commit data...
config.go Loading commit data...
config_test.go Loading commit data...
config_unix.go Loading commit data...
config_windows.go Loading commit data...
exec.go Loading commit data...
health_helper.go Loading commit data...
list.go Loading commit data...
multi.go Loading commit data...
multi_test.go Loading commit data...
register.go Loading commit data...
register_test.go Loading commit data...
register_windows_test.go Loading commit data...
service.go Loading commit data...
service_test.go Loading commit data...
single.go Loading commit data...
single_test.go Loading commit data...
unregister.go Loading commit data...
user_mode_warning.go Loading commit data...
verify.go Loading commit data...