Live data from Hacker News

Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?

themiddlewareman.org

1–10 of 58 posts

Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?

#3

Are all Docker images going to be required to conform to the Cartridge API, or is this another layer of standardness aimed at PaaS systems? I have to say the Cartridge API does look quite good. Has anyone had any experience with it to share?

Hi Chris, I don't think that the Docker team have gotten that far yet in knowing where they are going to go, but you can imagine that in the future I blogged about that you might be able to layer OpenShift's gears on top of Docker - now that would be very cool! There is certainly some convergence going on here which is really exciting for PaaS.

Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?

#4
I would very much like to use Docker/containers to provision and deploy my software stacks on a beefy server I have. The ideal for me would be a whole VM in a container (nginx/uwsgi/redis/postgres/etc), but Docker can't currently do that (it only runs a single process).

Is there a practical/good way to easily do what I want, with Docker or another tool?

Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?

#6
post #4

I would very much like to use Docker/containers to provision and deploy my software stacks on a beefy server I have. The ideal for me would be a whole VM in a container (nginx/uwsgi/redis/postgres/etc), but Docker can't currently do that (it only runs a single process). Is there a practical/good way to easily do what I want, with Docker or another tool?

The process docker runs in the container can be /sbin/init, which spawns an entire OS. Its just not how its normally used.

Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?

#7
post #4

I would very much like to use Docker/containers to provision and deploy my software stacks on a beefy server I have. The ideal for me would be a whole VM in a container (nginx/uwsgi/redis/postgres/etc), but Docker can't currently do that (it only runs a single process). Is there a practical/good way to easily do what I want, with Docker or another tool?

It's not really limited to one process you can just run a bash script to start everything or ideally some daemon management program.

Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?

#8
post #5

Does this force the other major PaaS providers like Heroku to support Docker? Seems like you'd need more providers on board for true portability. Awesome news though.

I really hope so, with the work that Red Hat and dotCloud are doing it will be possible for a Docker container to run on any Linux OS - which is a significant first step towards ubiquity. Whether Heroku's Buildpacks are then able to be layered on top of a Docker container is the question, not impossible as they are open source but will Heroku come on board? It seems Red Hat's OpenShift is making the moves towards this being possible with their cartridges which are the equivalent of the Heroku Buildpacks. The key bit is that the community seems to be converging around some standards that could lead to true application portability for PaaS, something we don't really have yet.

Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?

#9
post #4

I would very much like to use Docker/containers to provision and deploy my software stacks on a beefy server I have. The ideal for me would be a whole VM in a container (nginx/uwsgi/redis/postgres/etc), but Docker can't currently do that (it only runs a single process). Is there a practical/good way to easily do what I want, with Docker or another tool?

Did you try Dokku[1] (git hook + Heroku buildpacks + Docker)? You can build/deploy several apps to docker containers using git push. It has PostgreSQL plugin and exposes your app via nginx. Of course it wouldn't be 100% usable as-is, but its codebase is very hackable — around 150LOC.

For example I've forked it to built a μPaaS[2] — it has out-of-the-box integration with upstart (for supervision and logging) and replaced Heroku buildpacks with the ability to define stack in Dockerfile (which is much simpler).

[1]: https://github.com/progrium/dokku [2]: https://github.com/andreypopp/upaas

Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?

#10
post #5

Does this force the other major PaaS providers like Heroku to support Docker? Seems like you'd need more providers on board for true portability. Awesome news though.

I really hope so, with the work that Red Hat and dotCloud are doing it will be possible for a Docker container to run on any Linux OS - which is a significant first step towards ubiquity. Whether Heroku's Buildpacks are then able to be layered on top of a Docker container is the question, not impossible as they are open source but will Heroku come on board? It seems Red Hat's OpenShift is making the moves towards thi…

Jeff Lindsay wrote https://github.com/progrium/dokku which uses Heroku Buildpacks to build an app and then run it using Docker - it is a very neat little tool : )
Post reply on HN