this post was submitted on 09 Mar 2024
545 points (96.0% liked)

memes

9767 readers
2222 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] haui_lemmy@lemmy.giftedmc.com 3 points 6 months ago (1 children)

I‘m not sure I understand. At least docker containers have their own os, mostly alpine linux. Dunno if that applies to other apllications.

[–] MotoAsh@lemmy.world 14 points 6 months ago* (last edited 6 months ago) (1 children)

Nah, a container isn't running nearly as much as an entire OS. Not by a long shot. The Kernel isn't there at all and the entire device stack is gone. Most don't even have an init system running like systemd. They're closer to a chroot in a single terminal than running an entire OS.

The OS flavor in a container is mostly about what flavor of supporting tools are available inside the container. Almost everything else is a thin wrapper making calls in to your host OS or container services.

[–] haui_lemmy@lemmy.giftedmc.com 2 points 6 months ago (1 children)

Hmmm! Interesting! I knew the container shares the kernel with the host OS but I thought most of the rest would be there. I did never really have time to go through every detail tbh. Running 60 docker containers is too time consuming :) thanks for elaborating though.

[–] MotoAsh@lemmy.world 3 points 6 months ago* (last edited 6 months ago) (1 children)

Yea, I still need to learn a lot myself. Heck, I still have https://optimizedbyotto.com/post/linux-containers-docker/ open in a tab waiting to be read... For a couple weeks now. Sigh.

[–] haui_lemmy@lemmy.giftedmc.com 2 points 6 months ago (1 children)

Dont worry. Learn as you go. I rather make projects to learn things in a practical way.

[–] MotoAsh@lemmy.world 2 points 6 months ago

I try to do both study and practice. So many things either don't exactly work as advertised, or have really obscure catches that are really difficult to tease appart yourself. So the only way to get a clear picture is to both study and practice. Then, you get to know all of form, intent, and function and not just what you can working.