Tonight, I was testing some Windows Docker images across my different computers on my home network. I did a docker pull microsoft/iis
and the file download wasn't exactly fast on my slow internet connection so I decided to save the image as a .tar
file by docker image save -o c:\docker-images-export\microsoft-iis.tar
but how can I move this across to my target computer quickly without setting domains, setting up users, setting a home group etc. ?
The quickest as a temporary solution was to share the folder, give everyone access and turn off password protected sharing
compmgmt.msc
- Shared Folders > Shares > New Share > Some Folder > Give everyone access
control.exe /name Microsoft.NetworkandSharingCenter
- Advanced Sharing Settings > All Networks > Turn off password protected sharing
Once that was done, I was able to perform the import of the image by docker load -i c:\downloads\microsoft-iis.tar
Of course, I removed the temporary file share immediately after the transfer ;)