rancher / wins

Windows containers connect to Windows host
Apache License 2.0
30 stars 23 forks source link

Skip Checksum option? #12

Open jayunit100 opened 3 years ago

jayunit100 commented 3 years ago

Hi folks.

Would like an option to skip checksumming. My use case is ....

... in cases where i want to patch a binary on the host - i may want to start a process by simply calling wins from a container, without first copying my local contents over.

Workaround, in cases where you need to patch a container that is started from a ps1 script, you can add a wget or similar command into the containers startup, so that its path value is identical to what is on the host. of course this comes at the cost of having to mount/copy/upload your patched file somewhere.

aiyengar2 commented 3 years ago

I'm not sure if I completely understand the purpose behind your feature request, so could you provide some more details about your use case?

From my understanding, the purpose behind checksumming the Start Process call is to avoid something like the following scenario: