You can run it with:
git clone https://github.com/frio/cloud9-dockerfile
cd cloud9-dockerfile
docker build -t "yourname/cloud9" ./
docker run yourname/cloud9 -e [email protected]:your/project
... and then opening your-ip:3131 :).ShipBuilder is an open-source Heroku-esque PaaS which uses Go, Git, LXC, and HAProxy, with Docker support coming soon!
The Shipbuilder codebase is super easy to understand, and aims to make it fast and easy to deploy arbitrary web-applications.
Get total control over all aspects of your staging and production environments.
More info:
- Docker is entirely dependent on LXC at the moment, so if you're developing in anything other than Linux, it's not a good solution for creating a dev environment. They're promising to make LXC just a plugin at some point and support BSD jails, OpenVZ, and other containers, but even then I'm not sure there will be an answer for OSX users.
- You can do just what you describe above with a Vagrantfile. It works cross platform already.
Would this be helpful?
If you're looking for more content, I'll be happy to provide it.
I want to know how to write a dockerfile (?) that I can run a command against, and have a dev environment materialize. Something I can track in source control along with my "main" source. Something to replace the difficult-to-recreate and outside-of-source-control LAMP and Flask environments I have now.
And I'd like to know how my sites' source code or untracked files (e.g. .sqlite file, mongo dump files) fall into that, while still being accessible to the docker container.
I imagine this would cover a huge percentage of people interested in Docker.