whalescan icon indicating copy to clipboard operation
whalescan copied to clipboard

Container scan crashes in hyper-v isolation mode

Open SebastianEsp opened this issue 4 years ago • 2 comments

When scanning a running container an error is encountered at the checkPendingUpdates step. The program eventually crashes with the following error:

FileNotFoundError: [Errno 2] No such file or directory: 'result.txt'

Issue originates if the container is running in hyper-v isolation mode. Docker does not allow files to be copied into containers running in hyper-v isolation with the "docker cp" command. As no check is made to check if the copy command succeeds the program will evenutally crash when the result file is not found

Tested on OS: Windows 10 Enterprise Docker Version: 19.03.12 Docker isolation mode: Hyper-V

SebastianEsp avatar Sep 17 '20 14:09 SebastianEsp

Same issue here, btw, is this project still alive?

regards

Tuxinator

thetuxinator avatar Jun 10 '21 07:06 thetuxinator

Hello, have the same issue, can anyone help with that? image

honnyzo avatar Jun 22 '21 13:06 honnyzo