Live data from Hacker News

Bash on Ubuntu on Windows

blogs.msdn.microsoft.com

21–30 of 434 posts

Re: Bash on Ubuntu on Windows

#21
post #9

I'll be interested in hearing from anyone who uses this and finds it offers them more than they are currently getting from cygwin or VMware+Linux VM. I realize it's a very different beast from cygwin - an entire User Mode Linux environment, as opposed to being able to download windows versions of the Linux Environment, but, on a day to day basis, It will be interesting to see what people do differently, and why they…

My potential use case: run the IDE on the host (Windows UI is fast, font rendering is great), but use git, etc. from the Linux command line (to get file permissions, etc. right).

Install git (the real git from https://git-scm.com/, not a fancy GUI) and use the git bash shell today. It runs msys and has a full set of Linux utilities like ls, etc.

Re: Bash on Ubuntu on Windows

#22
post #14

So, if I understand correctly, one can now run Docker containers "natively" on Windows?

This is not the case. Depending on your definition of native you could run Docker containers on Windows even before this.

https://msdn.microsoft.com/en-us/virtualization/windowsconta...

Re: Bash on Ubuntu on Windows

#23

Maybe it's because I haven't been following this very closely but I'm confused. Does this mean I can do things like compile Haskell or OCaml from terminal as easily as I do on my Linux install? Can I use apt-get?

Yes, that's the plan. This is a syscall translation layer. In theory everything should run -- or most. I would not expect wireshark to run for example but I have very high hopes for autossh for example because Scott Hanselman have shown Redis running so higher level networking is there.

You might need http://www.straightrunning.com/XmingNotes/ for GUI.

Re: Bash on Ubuntu on Windows

#27
post #6

I can confirm that you can run (at least some) GUI apps if you start an X server on Windows (like Xming, etc.), and export DISPLAY.

yay! \o/

can you check what happens after you wake from sleep/hibernation? are those apps still fully functioning?

Re: Bash on Ubuntu on Windows

#28
post #20

Earlier quoted context omitted.

Yes

Can I use Docker?

I would be shocked. As I mentioned above, I wouldn't expect wireshark to run either. From what we gathered so far, this is a syscall translation layer and

> No new system calls are added for cgroups - all support for querying and modifying cgroups is via this cgroup file system.

Per https://www.kernel.org/doc/Documentation/cgroup-v1/cgroups.t...

Re: Bash on Ubuntu on Windows

#29
post #20

Earlier quoted context omitted.

Yes

Can I use Docker?

Linux docker? I doubt it--there's a lot of low level kernel stuff docker needs like creating a chroot. That said MS has been working on a docker version for Windows. I dunno if they ever released many details on what exactly it is though, it's been a while since I've much from them on it.
Post reply on HN