Is it possible to develop apps on Docker without Hyper-v?

Asked

Viewed 562 times

-1

I create applications using HTML, CSS and javascript, and also using frameworks like Ionic. For one reason or another, I’ve always had to manually set up the development environment, which has always taken a long time. Until one day there was no way to procrastinate Ocker’s learning. So I rode twice:

  • In a virtual machine with 32-bit O.S. (which did not work because the Docker image required 64 bit architecture)
  • In Windows 10 Hyper-v manager, on a machine that is not mine but ran a virtualized 64-bit system.

The central problem is that the processor on my machine does not have this feature, but I have the impression that I read somewhere that linux does not need Hyper-v to run Docker. And installing an operating system with the wrong purpose can delay my projects too much.

2 answers

1


In addition to the processor features and the architecture of your OS, you need to know which Docker editions are available. Your system version will also influence.

Docker Desktop: It is the recommended way to run Docker on Windows system. It better integrates with the operating system, making it possible to use localhost for network Binds, synchronization with the file system and automatic management of the VM running Docker.

It requires Hyper-V to run (hence requires virtualization support and also Windows 10 Pro). In the future it will be possible to run on Windows 10 Home when Docker Desktop uses WSL 2, but still needs virtualization.

Docker Toolkit: It is a utility package similar to Docker Desktop, but is based on Virtualbox and does not rely on deeper integration with the operating system. However, it can be used on older systems such as Windows 7. This option also requires virtualization.

Docker on Linux: When using Linux you do not need virtualization support to run Docker. I’m not sure if you can use a 32-bit system with the latest versions of Docker.

You can develop apps on Docker without Hyper-v?

Without Hyper-V it is possible to use the Docker Toolkit with Virtualbox on Windows or with a virtual machine with Linux. Still you need virtualization support.

Make sure your processor doesn’t really support virtualization, sometimes this option is only disabled in the BIOS.

0

The answer is yes! It is possible to develop apps on Docker without Hyper-v. This information came to me while writing this question, but I decided to continue editing for developers who pass for similar doubt. And there are two simple reasons: Container and virtualization. And for linux systems, isolating processes is a common routine, done natively, without the need for virtualization. Common confusion of those who aren’t fully immersed in Devops culture, as is my case.

  • 5

    I would use the term "devops fashion". I say this, because I’m from the time that I didn’t have so much buzzword, and the IT guy would set up the PC, read the motherboard scheme (which was in the Amiga manual, for example), understood digital electronics, read manual, found material even without internet, I learned to program for real and before even thinking about writing code, analyzed and understood the problem to be solved (all team), and the software was only manifestation. Today I see many "shadows" of this, an attempt to rescue the way that would be normal to do things, but that was being lost in recent decades.

  • 5

    PS: Not belittling any "concept", of course, I just don’t like seeing all this hype on top of terms that arise and are exchanged for others every two or three years, because I feel like seeing that scene that one congratulates the other for having returned a lost wallet, as if it were one "merit", being that it should be the obligation of anyone (who does it naturally does not need by name in it - the analogy is that when the guy does what should already be the normal, does not need a label). Maybe it’s a consequence of age, after a while you start to see the repetitive pattern of things...

  • 3

    PS2 (then comes Wii): I don’t know if you have participated, but your points already allow the use of network chat, great for more diffuse issues (in particular, the room Stack Burst, linked to Sopt - during the week, in office hours, has more movement, today is sure to be "slow"). - and that negative there in the post was not mine. (EDIT: after I realized that you have known chat for a long time, had not associated the account to the person :P )

  • Yes, for me also torturous unnecessary nomenclatures. But I still need them to communicate. I don’t like that either

Browser other questions tagged

You are not signed in. Login or sign up in order to post.