Z
Z
ZaurK2018-05-21 22:15:03
PHP
ZaurK, 2018-05-21 22:15:03

Should I switch to linux or is it enough to install docker while staying on Windows?

The question will probably seem banal, but I would like to know the opinion of experienced php programmers. I often think about moving to ubuntu, maybe I'm wrong, but it seems to me that working on windows + open server limits me as a programmer. On Windows, I have the necessary graphic programs that are not on ubuntu, this is holding me back. On the other hand, there are solutions like virtualbox + vagrant or docker, in connection with which the question is whether it is necessary to switch to ubuntu or does using a virtual environment (vagrant or docker) completely solve the issue?

Answer the question

In order to leave comments, you need to log in

9 answer(s)
P
pfg21, 2018-05-21
@pfg21

for incidental / minor tasks, getting used to the environment, gaining knowledge ... - install a virtualbox (a vagrant is redundant, but a docker vaapche container :) ) and study. six months or a year you dig deeper - you will figure it out, you will develop a "working callus".
because there will be many questions, systemically Linux is very different and it must be accepted, but it will still be more familiar to google in Windows.
then you will understand whether it is necessary to natively insert linux into the system or something else to do.

M
Maksim Fedorov, 2018-05-22
@Maksclub

I just forced myself to switch to Ubuntu
The first time for a week was enough - I returned
The second time has been going on for a year now and for like 7 months I have not seen the Start menu at
all with the development

A
Anton Mashletov, 2018-05-22
@mashletov

I'll tell you more: in Linux, in a good way, you need to use vagrant / docker, so there is no difference in this regard. Convenient in Windows - install docker + Hyper-V, install WSL and you will take all the cream from both systems. Forget about OpenServer and any server software, especially on Windows.
At one time I mastered myself to switch to ubuntu. In fact, you won't be crying for long. Linux for the desktop is no longer as miserable as it used to be. I installed Chrome, PhpStorm (the flawed fonts of java applications were already fixed there. By the way), Docker, played around with gnome-tweak-tool - that's all.
But then again, in Ubuntu, not everything is as smooth as they say. I recently bought a Lenovo Ideapad 520 laptop and it’s gone: the touchpad and wifi, there are no drivers in ubuntu, it gets hotter, I couldn’t set up the scaling properly, the media keys don’t work as they should. I had to demolish and put 10, where everything started up as it should.

D
Dmitry, 2018-06-05
@dlnsk

There are two postulates in your question:
It seems to me that the first is much more important than the second, because the first is related to professional activities, and the second is just convenient programs (which, by the way, can be in linux, but are called differently)
In this regard, I suggest you switch to linux, and put Windows under VirtualBox.
I am sure that soon you will realize that the programs you really need are not really needed (as I understood it too)...

M
Mysterion, 2018-05-21
@Mysterion

I personally got used to working under Windows, where the software is familiar and, as a rule, there is more of it. I tried to switch to Ubuntu as home OS, but I didn’t like it, and I didn’t even figure out how to connect a second monitor plugged into the built-in video card.
And the virtual zoo ceased to fence with the advent of WSL in Windows 10. I
already advised him in one of the questions.
And before him, there really was enough software for Windows, like Open Server, though he set the whole thing separately, just made one config universal and sometimes edited it.

D
Dmitry Evgrafovich, 2018-05-22
@Tantacula

I'll tell you from the experience of a year ago, things may have gotten better now. If you have windows 10 home and there is no way to install the pro version, then definitely pure Linux. Docker for Windows needs hyper-v, which is only available in pro. There is theoretically another option - to run from the built-in ubuntu, but in fact this is not an option at all, but proctology. You can also try it under virtual box, but this only applies if your machine is fast, if not, it's better to install pure Linux than get a gag reflex from terribly slow work. Under Windows, I had performance problems and, judging by what was written on the Internet, they could not be due to hardware, but because of the operating system. Docker has several file systems for containers and some of them are slow and others are faster, but those that are faster are only implemented under Linux, although they may have been added under Windows for a year. Although if you have powerful hardware, this may not be relevant for you.
There is still a moment how fully implemented additional tools like the same kubernetes in Windows, because soon after the start of development you will find that only with their help you can intelligently implement a normal system on the docker (that is, not to lift one container with an unfinished Apache, but to link several independent services into a single solution). And I didn't have time to study this question, maybe someone else will answer.

H
hrum, 2018-06-02
@hrum

if for web / development, then all the same, Linux on the main machine, everything will be native there as it is, and then in production 1: 1, and install Windows for a couple of irreplaceable programs on a virtual machine and, as it was already advised to go to it on RDP. In addition, no one canceled the shared folders of the virtual machine with the host, there will be no problems with file exchange :)

D
dmitriy, 2018-06-05
@dmitriylanets

I work in a bunch of windows10 + docker, while tolerable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question