Running WordPress inside multiple Docker containers(techbar.me)
techbar.me
Running WordPress inside multiple Docker containers
http://www.techbar.me/wordpress-docker/
2 comments
Docker depends on a bunch of kernel features that are not available in RHEL/CentOS/SL. I think specifically it's the filesystem stuff. As to Debian, I think even that lags behind Ubuntu enough that it is not possible.
Edit: Was easy enough to google: http://docs.docker.io/en/latest/installation/kernel/
Edit: Was easy enough to google: http://docs.docker.io/en/latest/installation/kernel/
In short, Docker has the following kernel requirements:
Linux version 3.8 or above.
AUFS support.
Cgroups and namespaces must be enabled.Last Monday I tried following this blog: http://nareshv.blogspot.co.uk/2013/08/installing-dockerio-on...
Long story short I think the hop5 repo was giving me trouble and wouldn't connect. I've blocked most of it out it involved many hours or frustration. Not all attributable to docker, their IRC was really helpful. YMMV
Long story short I think the hop5 repo was giving me trouble and wouldn't connect. I've blocked most of it out it involved many hours or frustration. Not all attributable to docker, their IRC was really helpful. YMMV
So here's the dumb Docker question for this thread... while I understand the theory behind Docker, why would I want to run WordPress this way? Say I have an Ubuntu server, with a bunch of users in /home/ and they all have a bunch of WordPress sites running in there, isn't that fine the way it is? What situation do I start running WordPress in Docker like this?
> ... why would I want to run WordPress this way?
I'm no expert on LXC or docker (never used it, but I've read a lot about it) but I don't think you would.
Honestly, I think this is a simply a result of the "docker is the coolest new thing, let's 'containerize' all the things!" fad.
We ($work) host a lot of WordPress blogs and they do just fine running on a shared web server.
I'm no expert on LXC or docker (never used it, but I've read a lot about it) but I don't think you would.
Honestly, I think this is a simply a result of the "docker is the coolest new thing, let's 'containerize' all the things!" fad.
We ($work) host a lot of WordPress blogs and they do just fine running on a shared web server.
If you think that this is just new cool thing, you probably didn't read a lot about it. Can you run 20 WordPress isolated installations in 30 seconds on traditional way (20 MySQL servers and 20 Apache web servers on one host)? Or just commit changes you made on your installation push it to docker index, pull it on another host and run that? Without db and app backup and restore procedure and you have exactly the same environment on both hosts. So you don't care about MySQL, Apache all libraries on another host, their versions, etc. You are moving software, in this case WordPress with your environment. With docker environment and software are in one piece. It is all about that.
Maybe WordPress just isn't great example, but this is extremely useful for development (works locally) and for continuous integration process. Every time you install software on fresh environment, so you don't need to manage it.
Maybe WordPress just isn't great example, but this is extremely useful for development (works locally) and for continuous integration process. Every time you install software on fresh environment, so you don't need to manage it.
That helps it make some more sense. I keep thinking it's something that looks useful, but I can't find a use case for what I do.
as a side ( unrelated :), could someone tell me why docker chose ubuntu as the main supported platform? I was under the impression it wasnt being put to as much use in the server market as say - RHEL, CentOS or Debian.