Earlier quoted context omitted.
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 : )
Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?
11–20 of 58 posts
Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?
#12I 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?
#13I 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 repla…
Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?
#14I 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?
#15I 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?
Pipework
https://github.com/jpetazzo/pipework
Essentially it lets you create private networks between containers which could each run its own service (one for Postgres, one for Redis, etc).
Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?
#16I 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?
I actually spawn multiple processes thanks to supervisord, which also restarts them if needed. See https://github.com/steeve/docker-lemp
EDIT: Well, supervisord looks straightforward, and you only need a single config file for everything. You have swayed me, thank you for that. This will do perfectly, I will try it today.
Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?
#17Earlier quoted context omitted.
I actually spawn multiple processes thanks to supervisord, which also restarts them if needed. See https://github.com/steeve/docker-lemp
That's my preference as well, I just prefer upstart to supervisord. Does anyone know how to start it offhand? It's probably just as easy as running the upstart daemon. EDIT: Well, supervisord looks straightforward, and you only need a single config file for everything. You have swayed me, thank you for that. This will do perfectly, I will try it today.
Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?
#18Earlier quoted context omitted.
I actually spawn multiple processes thanks to supervisord, which also restarts them if needed. See https://github.com/steeve/docker-lemp
That's my preference as well, I just prefer upstart to supervisord. Does anyone know how to start it offhand? It's probably just as easy as running the upstart daemon. EDIT: Well, supervisord looks straightforward, and you only need a single config file for everything. You have swayed me, thank you for that. This will do perfectly, I will try it today.
Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?
#19I 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?
1) Install git 2) Clone a repo with all of the dockerfiles in it (each dockerfile corresponds to a container) 3) Install Docker 4) Start containers using the previously-mentioned scripts
The advantage to using a shell script for this is that you can start it manually or via an automated system. All you need is the bootstrap script and you can start your app on any machine. Well, apart from the distributions the post mentions I guess.
Re: Docker + Red Hat OpenShift = The Tipping Point for Open PaaS?
#20Deis happens to be built around Chef with a workflow deeply inspired by Heroku. We believe strongly in that approach. Other PaaS's are working with more experimental technologies like CoreOS and etcd, others are going the Erlang route, others seem to be writing things from scratch in Go -- with all of it Docker compatible.
We think this is fantastic for the industry and for consumers (software teams) who will soon have lots of choices in open PaaS.