Docker Import tar image failing on with path not found issue

I am trying to export an Windows Server core image from a internet connected host to an non-internet connected host, I was able to successfully export the image (.tar) after an recent fix 1.13.0 which fixed the export issue due to checksum issue.

I am facing an issue where when I try to import the tar image back into the different host, it always fails with path not found even though I create the same folder and try import, it fails next time with a new folder name as shown below.

Can anyone help as to why the import is failing … Thanks in advance.

log

PS C:\Program Files\docker> docker import ‘C:\Users\administrator.new\Downloads\wsc2.tar’ microsoft:windowsservercore
Error response from daemon: re-exec error: exit status 1: output: ProcessBaseLayer C:\ProgramData\docker\windowsfilter\b0da8d0fea2d9c6f5b44e6cc3b9761a51ceb5eee776d6d50ea5c6fc30a4c2b78: The system cannot find the path specified.

PS C:\Program Files\docker> docker import ‘C:\Users\administrator.new\Downloads\wsc2.tar’ - microsoft:windowsservercore

invalid reference format
PS C:\Program Files\docker>

Thanks

1 Like

I hit the same. Any suggestion?
Can one import a W2K8 R2 image to a docker? Thanks

Use

docker load

instead