I wanted to host my code on OS X, mount it with VMware Fusion on a Ubuntu guest, and use it inside a Docker container. At first I tried VMware Fusion, as I couldn’t get Vagrant to work with OS X. I had to choose between using VirtualBox or VMware Fusion for virtualization, since at the moment Docker doesn’t support OS X. I wanted to be able to develop my project on OS X (my Vim / Tmux setup is currently OS X dependant and I don’t want to mirror it on Ubuntu). Separate the application code from the containers. Rails container, featuring RVM, Ruby 2.0.0-p247, Nginx and Passenger In my case I have the following containers: Just like functions and classes in your code, containers should do one thing and do that well. Separate the application into individual containers that communicate with one another. ![]() All the files discussed in this post can be found at this GitHub repository A few great tutorials on how to use it already came up, so I decided to give it a try for a side project and share my experiences. Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. I have been following the development of Docker for the past few months.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |