Docker and Windows

posted in: Programming | 0

There is more than enough written about Docker that I am not going to go into much detail about it.  Based on my limited experience I have mixed feelings about using Docker and especially so for Docker on Windows because…Windows. The idea of another layer on an OS to pretend to be an OS instead of it being an OS seems heavy weight.  And on Windows, every time I install it and try to start I am reminded by the start up that I need hyper-v enabled, mostly because it is missing the 1st time around. Then if the host machine is a virtual machine you have to worry if hyper v is supported and then you have to trouble your sys admin to check the checkbox and restart it or schedule a trouble ticket; and then it is a VM running Docker to run VMs is not only uncomfortably Inception-like but I worry that emulation in an emulation will be dog slow. 

Here is a little Windows factoid because Docker isn’t really meant to run on Windows which doesn’t like pipe files and doesn’t support redirected I/O on a command like.  When you are copying an image from another machine:

In a Powershell on the source machine:

docker save > someimagename.tar

You can’t restore it using ‘<‘. so on the destination machine use the -i flag

docker load -i someimagename.tar

Fun for everyone!

Leave a Reply

Your email address will not be published. Required fields are marked *