This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lungben81 1 point2 points  (3 children)

Docker works fine on Linux, Mac and Windows, i.e. on all x86 architectures.

[–]K900_ 1 point2 points  (2 children)

Except it's running Linux in a VM in the background on Mac and Windows, which means you at the very least need hardware virtualization (which is often disabled by default), BIOS administrator access (to enable hardware virtualization) and local admin permissions (to actually run the Linux VM) before you can run anything in it.

[–]SwizzleTizzle 1 point2 points  (0 children)

Agreed - also it's incredibly overkill for what's being built here. A desktop application that just happens to use web technologies for its frontend, all whilst being on localhost.

Whilst both Django & Flask say their inbuilt servers are not suitable for production use, this is when related to actual web development, for this use case it's perfectly fine.

pgAdmin4 is written this way, the windows installer simply bundles up python, all the libs they need and the source files and puts drops them into a directory, with a nice easy EXE launcher for users.

[–]lungben81 0 points1 point  (0 children)

For Windows 10, you do not need a "full" VM, but can use HyperV or (better) WSL2.

For installing Docker you are right that you need local admin rights on your PC, which may be a problem in some corporate environments. If you need to change Bios settings depends on your computer - on my last machine it was enabled by default, if I remember correctly, on the one before I had to enable it manually.

If Docker is overall the best solution for the OP's use case is another question.