2 ms·
Docker for Windows works great but it needs hyper-v which is pro only. Well worth it though. Also I would enable the WSL to get bash. Install conemu and you ar
by moondev 10y ago
Docker for Windows works great but it needs hyper-v which is pro only. Well worth it though.
Also I would enable the WSL to get bash. Install conemu and you are pretty much good to go.
You will be surprised how well bash works. The fact you can use apt-get to access the ubuntu repos means it's even better than homebrew. You can even run an x-server and use gui apps.
- dillonraphael 10y agoSo what's the difference between this and using my current setup; cmder & vagrant? If I get Windows Bash do I still need things like visual studio to compile node-gyp stuff?
- moondev 10y agoI would use bash for your normal command line. That way you can easily use git, ssh, htop or whatever linux tools you need. Then I would install docker for windows and docker-cli inside bash. Then you can easily work on node projects by going into your project folder with windows bash. Then run "docker run -it -d --name nodejs -p 3000:3000 -v $PWD:/workdir -w /workdir node:latest bash" This will launch a nodejs container a drop you into a tty inside the container. Then you can edit your files from windows and do npm install.. npm run... etc fro inside the container. localhost:3000 will have your app
- dillonraphael 10y agoI'm using Windows 10 Home :(
- moondev 10y agoYou should be able to use docker-machine for windows but it needs virtualbox. Honestly I would pay to upgrade though. I think it's around $100 and you can do it from the store. Hyper-v is one of the most exciting things about windows 10 IMO