- ruffsl ( @ruffsl@programming.dev ) English39•1 year ago
Image Transcription: Meme
A photo of an opened semi-trailer unloading a cargo van, with the cargo van rear door open revealing an even smaller blue smart car inside, with each vehicle captioned as “macOS”, “Linux VM” and “Docker” respectively in decreasing font size. Onlookers in the foreground of the photo gawk as a worker opens each vehicle door, revealing a scene like that of russian dolls.
I’m a human volunteer content transcriber and you could be too!
- ruffsl ( @ruffsl@programming.dev ) English10•1 year ago
Just need to put a JIT compiled language logo inside the blue car and caption it as “Containerise once, ship anywhere”.
- Carlos Solís ( @csolisr@communities.azkware.net ) English3•1 year ago
Hoping somebody organizes a /c/TranscribersOfLemmy or /m/TranscribersOfKbin
- Nyla Smokeyface ( @Nyla_Smokeyface@beehaw.org ) English2•1 year ago
Good human
- Ucinorn ( @Ucinorn@aussie.zone ) English34•1 year ago
Not just OSX: anyone using WSL on windows is an offender too
But as a WSL user, dockerised Dev environments are pretty incredible to have running on a windows machine.
Does it required 64 gig of ram to run all my projects? Yes. Was it worth it? Also yes
- Mermitian ( @Mermitian@lemm.ee ) English13•1 year ago
I’m even worse, I have used wsl in a windows vm on my mac before haha
- Carlos Solís ( @csolisr@communities.azkware.net ) English6•1 year ago
And use that to virtualize Android, to go even further beyond
- NotSteve_ ( @NotSteve_@beehaw.org ) English1•1 year ago
But why lol
- MyNameIsFred ( @fred@beehaw.org ) English1•1 year ago
Sweet Jesus
- qwop ( @qwop@programming.dev ) English4•1 year ago
My experience using docker on windows has been pretty awful, it would randomly become completely unresponsive, sometimes taking 100% CPU in the process. Couldn’t stop it without restarting my computer. Tried reinstalling and various things, still no help. Only found a GitHub issue with hundreds of comments but no working workarounds/solutions.
When it does work it still manages to feel… fragile, although maybe that’s just because of my experience with it breaking.
- Ucinorn ( @Ucinorn@aussie.zone ) English1•1 year ago
I found the same thing until I started strictly controlling the resources each container could consume, and also changing to a much beefier machine. Running a single project with a few images were fine, but more than that and the WSL connection would randomly crash or become unresponsive.
Databases in particular you need to watch: left unchecked they will absolutely hog RAM.
- MXX53 ( @MXX53@programming.dev ) English1•1 year ago
I work in a windows environment at work and my VMs regularly flag the infrastructure firewalls. So WSL is my easiest way to at least be able to partially work in my environment of choice.
- Phoenix ( @Phoenix@programming.dev ) English1•1 year ago
I’ve used WSL to run deepspeed before because inexplicably microsoft didn’t develop it for their own platform…
- fmstrat ( @fmstrat@lemmy.nowsci.com ) English14•1 year ago
Don’t forget the ARM64 to AMD64 conversion.
- Ucinorn ( @Ucinorn@aussie.zone ) English1•1 year ago
This was one of the reasons we switched to docker in the first place. Our Devs with M series processors spent weeks detangling issues with libraries that weren’t compatible.
Just started using Docker and all of those issues went away
- YellowTraveller ( @YellowTraveller@lemm.ee ) English12•1 year ago
When I was in school I once used a IOS emulator running inside a docker container of MacOS running on a linux machine. It works surprisingly smoothly.
- george ( @george@midwest.social ) English1•1 year ago
The difference between Docker and a VM is that Docker shares a kernel, but provides isolated processes and filesystems. macOS has a very distinct kernel from Linux (hence why Docker on macOS uses a Linux VM), I would be shocked if it could run on a Linux Docker host. Maybe you were running macOS in a VM?
- YellowTraveller ( @YellowTraveller@lemm.ee ) English3•1 year ago
Nope, Mac OS as a Docker container, it’s a thing: https://hub.docker.com/r/sickcodes/docker-osx
Also you don’t need a Linux VM to run docker containers on a Mac host btw
- george ( @george@midwest.social ) English2•1 year ago
TIL, good to know!
- Felix ( @fbartels@lemmy.one ) English1•1 year ago
The first layer in that docker container is actually KVM. So you run the container to run kvm, which then emulates osx.
- bdonvr ( @bdonvr@thelemmy.club ) English9•1 year ago
Now add
dind
- astraeus ( @astraeus@programming.dev ) English5•1 year ago
We’re reaching levels of containerization that shouldn’t even be possible!
- MartianInAHumansBody ( @MartianInAHumansBody@lemmy.ca ) English9•1 year ago
Add a JVM just for the hell of it
- Carlos Solís ( @csolisr@communities.azkware.net ) English7•1 year ago
And of course, all of the above installed via Homebrew for extra recursion
- haruki ( @h_a_r_u_k_i@programming.dev ) English6•1 year ago
Time to check out Podman.
- cx0der ( @cx0der@lemmy.sdf.org ) English2•1 year ago
Podman does the same. Podman runs fedora.
- Xylight (photon dev) ( @Xylight@programming.dev ) English5•1 year ago
reminds me of a russian doll
- CmdrShepard ( @CmdrShepard@lemmy.one ) English3•1 year ago
I would not be surprised to learn this photo was taken in Russia.
- juliebean ( @juliebean@lemm.ee ) English5•1 year ago
it’s like an automotive turducken
- Parsnip8904 ( @Parsnip8904@beehaw.org ) English4•1 year ago
At least it’s UNIX all the way down.
- tomh ( @tomh@feddit.uk ) English3•1 year ago
Now run a KinD cluster inside that, with containers running inside the worker containers.
- PervServer ( @PervServer@lemmynsfw.com ) English2•1 year ago
I mean I have Debian running an Ubuntu VM running docker. It’s VMs all the way down baby
- blackstrat ( @blackstrat@lemmy.fwgx.uk ) English2•1 year ago
I’ve run a VM on Proxmox which was running in VirtualBox on my Linix desktop to try out Proxmox and see if I could.
- Vortieum ( @Vortieum@sopuli.xyz ) English2•1 year ago
Yo dawg
- mobyduck648 ( @mobyduck648@beehaw.org ) English1•1 year ago
Add the JVM on here too for my Scala-writing self.