You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the host is windows, the shlex.quote method used to quote filenames does not work as expected. shlex is compliant only with Linux and uses single quotes. For Windows, double quotes need to be used.
The result is that if the host file name is absolute and includes the drive (.e.g, C:/SomeFile) the copy command will interpret C: as a container and will report files.Files:copy_from_host will report copying between containers is not supported
The text was updated successfully, but these errors were encountered:
ChrisTimperley
changed the title
Files copy to/from host fails if host is windows
Files copy to/from host fails if host is Windows due to incorrect filename escaping
Oct 15, 2020
When the host is windows, the
shlex.quote
method used to quote filenames does not work as expected.shlex
is compliant only with Linux and uses single quotes. For Windows, double quotes need to be used.The result is that if the host file name is absolute and includes the drive (.e.g,
C:/SomeFile
) the copy command will interpretC:
as a container and will reportfiles.Files:copy_from_host
will reportcopying between containers is not supported
The text was updated successfully, but these errors were encountered: