Preferences

Wondering if it would be a good idea to setup a VM with this. Setup remote connection, and intellij. Just have a script to clone it for a new project and connect from anywhere using a remote app.

It will increase the size of the VM but the template would be smaller than a full blown OS

Aside from dev containers, what are other options? I'm not able to run intellij on my laptop, is not an option

I use Nvim to ssh into my computer to work, which is fine. But really miss the full capacity of intellij


Ive experimented with several small distros for this when doing cross platform development.

In my experience, by the time you’re compiling and running code and installing dev dependencies on the remote machine, the size of the base OS isn’t a concern. I gained nothing from using smaller distros but lost a lot of time dealing with little issues and incompatibilities.

This won’t win me any hacker points, but now if I need a remote graphical Linux VM I go straight for the latest Ubuntu and call it day. Then I can get to work on my code and not chasing my tail with all of the little quirks that appear from using less popular distros.

The small distros have their place for specific use cases, especially automation, testing, or other things that need to scale. For one-offs where you’re already going to be installing a lot of other things and doing resource intensive work, it’s a safer bet to go with a popular full-size distro so you can focus on what matters.

To really hammer this home: Alpine uses musl instead of glibc for the C standard library. This has caused me all types of trouble in unexpected places.

I'm all for suggestions for a better base OS in small docker containers, mostly to run nginx, php, postgress, mysql, redis, and python.

    > Alpine uses musl instead of glibc for the C standard library. This has caused me all types of trouble in unexpected places.
I have no experience with alternative C libs. Can you share some example issues?
> I have no experience with alternative C libs. Can you share some example issues?

No precompiled Linux stuff runs. No Chrome, no 3rd party Electron apps work unless specifically ported. For me, no Slack, no Panwriter, no Ferdium.

Flatpak works, sort of, with restrictions. Snap doesn't.

How about debian-slim?
I actually have used that, thank you. Excellent choice.
Valid points, completely forgot about that part, and even with installation script, I manage to waste a good amount of time downloading and setting things up.

Question, I use VirtualBox, but I feel it's kind a laggy sometimes, What do you use? Any suggestion on performance improvements?

Is docker valid for your use case?
Docker to start IntelliJ and access remotely from my Laptop, will have to tunnel. Hm, I should give this a try. I was not sure if Docker+GUI goes well.
Isn’t this what GitHub remote envs are (or whatever they call it)?

Never really got what it’s for.

JetBrains has Gateway which allows connecting to a remote instance and work on it.
Yes, but it requires JetBrain running on the client too.
moonlight / sunshine might work if you can't run it locally.

It'd be best with hardwired network though.

This item has no comments currently.