LXC in Windows 10 Bash Shell

Summary

So I was very excited to finally have a Lenovo P70 mobile workstation that has SSD and slots for 2 M.2 NVMe SSD's so that I could run multiple OS. I've been up until now pretty dedicated to running Ubuntu Linux as my primary OS. However, I've been having a marvelous user experience with Oracle Linux 7 UEK4 kernel on Lenovo P70 Mobile Workstation as one of my 3 bare-metal OS installations, and have blogged a bit about that and what a robust desktop it is proving itself to be (because generally Oracle Linux 7 UEK4 is not the first OS that comes to mind for a desktop linux deployment...but it turns out to be very robust and very useful if you are an Oracle person developing stuff around Oracle because you are "right at home" so to speak).

But all that is beside the point that I wanted to try out running LXC linux containers in the Windows 10 Anniversary Edition Ubuntu Bash Shell and see if it was possbile even to install my Orabuntu-LXC software to run Oracle Enterprise products for Linux in the Windows Ubuntu Bash shell (note, Orabuntu-LXC mission in life is to make it possible to run Oracle Enteprise software seamlessly on Ubuntu Linux kernels in Oracle Linux LXC containers of course not in Oracle-supported configurations because Oracle does not support Ubuntu Linux but instead for dev test and pilot or educational projects).

Preliminary Findings

I haven't tried running Orabuntu-LXC installer fully in the Windows Ubuntu bash shell because early trials show that the shell really likely cannot support such a deployment yet, at least not with my Orabuntu-LXC in its current form. For example, "ifconfig" does not work in the Windows Ubuntu bash shell (well I can work around that by using ovs-vsctl show - assuming that openvswitch deployment from deb packages would work - which is not a foregone conclusion), and nor does the "function" statement so I can't use functions. Orabuntu-LXC has many functions defined it its' installer so seems the Windows Ubuntu shell isn't really ready for that yet. However, it might be able to support a manual LXC container install which I will try to find time to do and update the blog here when I have some results for you.