Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is how we do development as well, it's been working out great!

One thing to note is that volumes can act weird at times if using docker-toolbox (I know the Blog Post was about using a Linux host).

https://www.virtualbox.org/ticket/14920

As a workaround we set up an alias for opening the file in VIM and saving it (without making any changes) that would run from within the container. Like the following:

    vim <filename> -c 'wq!'


I don't think you'll see these problems with the new Docker 1.12 for Mac (no docker toolbox), which brings the experience on the Mac much closer to what you see on Linux boxes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: