Mysql web client docker2/15/2023 ![]() I've been a great fan of using Vagrant because it's super simple but it's not exactly what you would call lightweight. But I use Vagrant, do I really need Docker? That flexibility, portability and the option to more efficiently use your server resources are what make Docker so compelling to use. If you were using Docker, you could simply spin up another container, set the PHP version to 5.6 and put it right next to your other container that has PHP version 7-shinynew on it, running on the same server with no problems whatsoever. You're in a pretty pickle now because messing with PHP versions in a production environment isn't something you'd typically want to do, especially when that change will impact your complete system and all apps running on it. Only caveat is that this other app was written a couple of years ago and it really isn't ready for PHP7 yet so you need PHP5.6 to run the damn thing. Now imagine you've installed PHP7.2 on your server and you're thinking about deploying an additional app to the same server because it has resources enough to power both. One popular approach would be to set up a VPS, install Linux on it and configure the operating system with all the packages your app needs, like MySQL, Apache and PHP. ![]() ![]() Well, docker can be seen as exactly that: containers with pieces of your app inside of them. What is docker and why do I need it for dev's sake?ĭocker has been around for a couple of years now and you've probably seen the term containerization pop up in your favourite dev blogs. Heads up: I'm recording a free 1-hour video course on how to use Docker. Let me save you some time and explain the basic concepts to get you started as quickly as possible. ![]() or any other tool/technology you thought you didn't need? You'll feel the same about docker. Remember your first steps with vagrant, node, npm, mongodb, sass, js. Getting started with docker can be daunting at first, just like getting started with any technology you're not yet familiar with. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |