Hacker News new | ask | show | jobs
by moondev 3432 days ago
I 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

1 comments

I'm using Windows 10 Home :(
You 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