News for hackers. Stuff that matters.
Re:Kubernetes Home – what do you do if your ISP changes your... by robertlagrant on Tuesday March 11, 2025 @03:38AM (#43330087)
Docker is kernel virtualisation. Are you thinking of OS virtualisation, like a VM?
Re:Kubernetes Home – what do you do if your ISP changes your... by xrisk on Tuesday March 11, 2025 @04:09AM (#43330267)
Docker does not virtualize the kernel, in fact the kernel version “inside” Docker is the same as the host.
Re:Kubernetes Home – what do you do if your ISP changes your... by Timber-6539 on Tuesday March 11, 2025 @03:56AM (#43330205)
Virtualization usually refers to OS/ device emulation in software. Docker uses kernel namespaces which is an entirely unrelated feature.
Re:Kubernetes Home – what do you do if your ISP changes your... by TZubiri on Tuesday March 11, 2025 @06:27PM (#43337785)
I find it funny how some obtuse devs are unable to use abstraction in software of all things.
Re:Kubernetes Home – what do you do if your ISP changes your... by anonfordays on Tuesday March 11, 2025 @10:36AM (#43332862)
Docker is OS-level virtualization. VMs are hardware virtualization. Different layers.
Re:Kubernetes Home – what do you do if your ISP changes your... by Spivak on Tuesday March 11, 2025 @01:00PM (#43334585)
That isn't even true, you share your host kernel. There are parts of the kernel that aren't namespaced as well. The kernel keyring is probably the big one.
Re:Kubernetes Home – what do you do if your ISP changes your... by anonfordays on Tuesday March 11, 2025 @01:14PM (#43334756)
>That isn't even true

You are incorrect, this is true:

"OS-level virtualization is an operating system (OS) virtualization paradigm in which the kernel allows the existence of multiple isolated user space instances, including containers (LXC, Solaris Containers, AIX WPARs, HP-UX SRP Containers, Docker, Podman)..."[0].

>you share your host kernel

Kernel != OS

>There are parts of the kernel that aren't namespaced as well. The kernel keyring is probably the big one.

Immaterial.

[0] https://en.m.wikipedia.org/wiki/OS-level_virtualization

Re:Kubernetes Home – what do you do if your ISP changes your... by Spivak on Tuesday March 11, 2025 @01:23PM (#43334853)
You can call it what you want but absolutely no one considers chroot virtualization in any meaningful sense. Nothing is being virtualized, containers are just regular processes on the host system.

"OS Virtualization" != "OS" "Virtualization"

Re:Kubernetes Home – what do you do if your ISP changes your... by TZubiri on Tuesday March 11, 2025 @06:26PM (#43337775)
1st of all yes, many people consider not only chroot to be virtualization (of the file system). Yes it is arguable as it is the birth of lightweight virtualization. But you were wrong in saying no one does.

https://papers.freebsd.org/2000/phk-jails/

https://youtu.be/hgN8pCMLI2U?si=CH-Fpyj16bEWDZzc

2nd containers go farther and virtualize network, and other resources.

Re:Kubernetes Home – what do you do if your ISP changes your... by anonfordays on Wednesday March 12, 2025 @12:57PM (#43345245)
>You can call it what you want

I call it as it is.

>but absolutely no one considers chroot virtualization in any meaningful sense.

Absolutely everyone who's knowledgable in virtualization considers chroot to be a type of OS-level virtualization.

>Nothing is being virtualized, containers are just regular processes on the host system.

Wrong, "...OS-level virtualization is an operating system (OS) virtualization paradigm in which the kernel allows the existence of multiple isolated user space instances..."

"OS Virtualization" == "OS " + "Virtualization"

Re:Kubernetes Home – what do you do if your ISP changes your... by linuxdude314 on Tuesday March 11, 2025 @11:11PM (#43339600)
It’s not virtualization, it’s namespaces. Docker makes use of Linux kernel features; started out with cgroups and now uses libcontainer. Each container is running in its own isolated(ish) namespace on the same host kernel.

It’s _very_ different technology than virtualization.

You don’t need docker to make a container on Linux (or Solaris for that matter).

Re:Kubernetes Home – what do you do if your ISP changes your... by anonfordays on Wednesday March 12, 2025 @12:47PM (#43345135)
>It’s not virtualization

You are incorrect, this is OS-level virtualization:

"OS-level virtualization is an operating system (OS) virtualization paradigm in which the kernel allows the existence of multiple isolated user space instances, including containers (LXC, Solaris Containers, AIX WPARs, HP-UX SRP Containers, Docker, Podman)..."[0].

>it’s namespaces. Docker makes use of Linux kernel features; started out with cgroups and now uses libcontainer. Each container is running in its own isolated(ish) namespace on the same host kernel.

Yes, OS-level virtualization.

>It’s _very_ different technology than virtualization.

Incorrect, this is a virtualization technology.

>You don’t need docker to make a container on Linux (or Solaris for that matter).

No one claimed otherwise.

[0] https://en.m.wikipedia.org/wiki/OS-level_virtualization