3 ms·
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 Ubu
by blakesterz 13y ago
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?
- jlgaddis 13y ago> ... 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.
- komljen 13y agoIf 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.
- blakesterz 13y agoThat 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.