Answer the question
In order to leave comments, you need to log in
Is Docker/Vagrant now the standard for a web developer's dev environment?
I have always used LEMP (no VM) on my ubuntu for development. Yes, I have php 7.2, 5.6, nginx, mariadb, node, mongo, global composer, lints. All this is spinning like a server, but it is very convenient without any remote interpreters and good integration with the IDE. Do I understand correctly that this is an anti-pattern and a shame in 2018?
I plan to change jobs next year and I don’t know if they will ask about the dev environment at the interview and any requirements for this. Should I switch to Docker right away? Or force yourself to use the VM...
I tried Docker. I was repulsed by the fact that it is impossible to give the container a fixed ip address, so that later sitename.local can be registered in the host. It is difficult to use all sorts of composers and the like. I got the impression that Docker is only suitable for production standards.
Vagrant also seemed inconvenient to me: every time I need to make at least a one-page landing page, I will need to download 2GB and re-install lamp and the like there? Homestead seemed to me terribly redundant. Actually, like everything in laravel :)
Answer the question
In order to leave comments, you need to log in
vagrant:
the image does not need to be downloaded constantly, it is downloaded once and lies on its disk. just update it periodically.
the entire stack you need can be raised automatically when building vmki. if the computer is not slowpoke and a normal Internet, it takes 5-10 minutes.
if you wish, you collect your image with an already installed stack and slip it into the vmka build.
docker:
easier than vagrant on resources. but much more meningitis in terms of learning/support.
in general, it all depends on the tasks. on many tasks, especially the level of "single-page landing page" or "blog on vp", you can quite calmly and successfully do without them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question