47
You know who you are (programming.dev)
top 13 comments
sorted by: hot top controversial new old
[-] Ucinorn@aussie.zone 7 points 2 years 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@lemm.ee 2 points 2 years ago

I’m even worse, I have used wsl in a windows vm on my mac before haha

[-] qwop@programming.dev 0 points 2 years 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.

[-] desmaraisp@lemmy.world 1 points 2 years ago

You can cap the amount of cpu/memory docker is allowed to use. That helps a lot for those issues in my experience, although it still takes somewhat beefy machines to run docker in wsl

[-] ruffsl@programming.dev 4 points 2 years ago* (last edited 2 years 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@programming.dev 1 points 2 years ago

Just need to put a JIT compiled language logo inside the blue car and caption it as "Containerise once, ship anywhere".

[-] MartianInAHumansBody@lemmy.ca 3 points 2 years ago

Add a JVM just for the hell of it

[-] PervServer@lemmynsfw.com 2 points 1 year ago

I mean I have Debian running an Ubuntu VM running docker. It's VMs all the way down baby

[-] YellowTraveller@lemm.ee 2 points 2 years 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.

[-] Yoz@lemmy.world 1 points 2 years ago

Can someone please explain me like i am 5 what is docker and containers ? How it works? Can i run anything on it ? Is it like virtualbox ?

[-] SantaClaus@aussie.zone 1 points 2 years ago* (last edited 2 years ago)

Think of a container like a self contained box that can be configured to contain everything a program may need to run.

You can give the box to someone else, and they can use it on their computer without any issues.

So I could build a container that contains my program that hosts cat pictures and give it to you. As long as you have docker installed you can run a command "docker run container X" and it'll run.

[-] Lmaydev@programming.dev 1 points 8 months ago

A container is a binary blob that contains everything your application needs to run. All files, dependencies, other applications etc.

Unlike a VM which abstracts the whole OS a container abstracts only your app.

It uses path manipulation and namespaces to isolate your application so it can't access anything outside of itself.

So essentially you have one copy of an OS rather than running multiple OS's.

It uses way less resources than a VM.

As everything is contained in the image if it works on your machine it should work the same on any. Obviously networking and things like that can break it.

[-] fmstrat@lemmy.nowsci.com 1 points 2 years ago

Don't forget the ARM64 to AMD64 conversion.

this post was submitted on 03 Jul 2023
47 points (100.0% liked)

Programmer Humor

19821 readers
535 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS