Zum Hauptinhalt springen
Intelligence View
⚡ tsecurity.de Intelligence

Kali Linux & Containerization (Apple's Container)

If you’re an Apple user, you may have heard of Apple’s upcoming feature Containerization during WWDC 2025. Quick summary: Container is a CLI tool, which works w…

Beitrag
0
Seite
0
↗ Quelle (kali.org)
Cloud & Tech-Stack · 5 Min. Lesezeit
Quelle: kali.org
Rubrik: Herramientas Admin y Dev

If you’re an Apple user, you may have heard of Apple’s upcoming feature Containerization during WWDC 2025.
Quick summary:



  • Container is a CLI tool, which works with Containerization. This is what end-users interact with.

  • Containerization handles creating the containers, that talks to Virtualization.framework.

  • Virtualization.framework is the hypervisor API (high level), and creates a new VM per container via Hypervisor.framework.

  • Hypervisor.framework is the low level hypervisor API, which uses the macOS kernel (the hypervisor).


It is similar to Microsoft’s Windows Subsystem for Linux 2 (WSL), where a very small lightweight virtual machine (VM) is launched in the background, so a Linux kernel can be used on a non Linux host (WSL2 uses Hyper-V). Not to be confused with WSL1, which was more like WINE!


Its set to be publicly released for the next major OS release, macOS “Tahoe” 26, and also for macOS “Sequoia” 15 .


Containerization supports containers which are “Open Container Initiative (OCI) compliant”, luckily our Kali image are!


Setup


If the first thing we see when trying to run container is:


~ % container
zsh: command not found: container
~ %

…We need to install it.




Doing a quick check to make sure our system is supported:


~ % sw_vers -productVersion
15.5
~ %
~ % uname -m
arm64
~ %

We are using macOS 15.5, on an Apple Silicon series device (aka arm64).


We are good to go!




If Homebrew is installed:


~ % brew install --cask container
==> Downloading https://github.com/apple/container/releases/download/0.2.0/container-0.2.0-installer-signed.pkg
==> Downloading from https://release-assets.githubusercontent.com/github-production-release-asset/993475914/c5fb6a42-f282-4dd7-95c2-af9b142f0ed1?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-07-17T14%3A06%3A32Z&r
######################################################################################################################################################################################################### 100.0%
==> Installing Cask container
==> Running installer for container with sudo; the password may be necessary.
Password:
installer: Package name is container-0.2.0-installer-signed
installer: Upgrading at base path /
installer: The upgrade was successful.
🍺 container was successfully installed!
~ %

Otherwise, we can manually grab the (signed) setup file from github.com/apple/container. At the time of writing its container-0.2.0-installer-signed.pkg.




Now when we try and run it:


~ % container
OVERVIEW: A container platform for macOS
USAGE: container [--debug] <subcommand>
OPTIONS:
--debug Enable debug output [environment: CONTAINER_DEBUG]
--version Show the version.
-h, --help Show help information.
CONTAINER SUBCOMMANDS:
create Create a new container
delete, rm Delete one or more containers
exec Run a new command in a running container
inspect Display information about one or more containers
kill Kill one or more running containers
list, ls List containers
logs Fetch container stdio or boot logs
run Run a container
start Start a container
stop Stop one or more running containers
IMAGE SUBCOMMANDS:
build Build an image from a Dockerfile
images, image, i Manage images
registry, r Manage registry configurations
OTHER SUBCOMMANDS:
builder Manage an image builder instance
system, s Manage system components
~ %

…but we are not fully yet there!




When we use container to try and interact with Containerization, we may get:


~ % container ls
Error: interrupted: "internalError: "failed to list containers" (cause: "interrupted: "XPC connection error: Connection invalid"")
Ensure container system service has been started with `container system start`."
~ %

We can address this by starting up the service in the background:


~ % container system start
Verifying apiserver is running...
Installing base container filesystem...
No default kernel configured.
Install the recommended default kernel from [https://github.com/kata-containers/kata-containers/releases/download/3.17.0/kata-static-3.17.0-arm64.tar.xz]? [Y/n]: y
Installing kernel...
~ %

Now we are off to the races!


Running Containers


Like Docker, and Podman, we can run our containers as we would expect:


~ % container run --rm -i -t kalilinux/kali-rolling
┌──(root㉿9ff4685f-76e1-42fa-86ba-f12e76c79843)-[/]
└─# id
uid=0(root) gid=0(root) groups=0(root)

The first time running, container will need to pull down the container image.
The default container registry is currently DockerHub (which Kali is on).




We are able to-do the same features as Docker/Podman as you would expect, such as sharing a directory :


~ % container run --remove --interactive --tty --volume $(pwd):/mnt --workdir /mnt docker.io/kalilinux/kali-rolling:latest
┌──(root㉿4be77ff5-bd57-4076-8bf0-8e51caff047e)-[/mnt]
└─# uname -a
Linux 4be77ff5-bd57-4076-8bf0-8e51caff047e 6.12.28 #1 SMP Tue May 20 15:19:05 UTC 2025 aarch64 GNU/Linux

Alias


Once everything is working as expected, we can create a quick alias to avoid retyping the full command each time:


~ % alias container-shell='container run --remove --interactive --tty --entrypoint=/bin/bash --volume $(pwd):/mnt --name "$(hostname -s)-$(mktemp -u XXXXXX)" --workdir /mnt'
~ %
~ % echo "alias container-shell='container run --remove --interactive --tty --entrypoint=/bin/bash --volume $(pwd):/mnt --name "$(hostname -s)-$(mktemp -u XXXXXX)" --workdir /mnt'" >> ~/.zshrc
~ %
~ % container-shell kalilinux/kali-rolling:latest
┌──(root㉿mba22-vB9af6)-[/mnt]
└─#

Troubleshooting


Currently there are a few known limitations of Containerization, especially using macOS “Sequoia” 15, such as container’s network access not getting an IP address or no network access. We recommend reading and following Apple’s advice if you run into these issues.




And just like that, we have a quick way to run Kali containers on macOS. This is part of our ongoing commitment of “Kali Everywhere”, where we put the tools you need in as many places as possible and easy for you to make use of. There are many different ways to run Kali, be sure to check out our get Kali page to find the one that best fits your needs.

Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
✏️ Information ergänzen
🛡️ Versioniert via CMS-Revisions-Engine (Freigabe-Queue für Gäste)

💬 Debate de la comunidad y comentarios

🌐 Unirse al chat principal

Inicia el debate en el stream de difusión del Social Chat o envía arriba una contribución experta mediante el formulario de ampliación.

Briefing de seguridad Gratis · baja en 1 clic

Intelligence Digest — gratis

Cada día las noticias de seguridad más importantes · baja en cualquier momento

Valoración de la comunidad &amp; prueba social
⭐ Valoración de los lectores
–
Ø / 5.0
Aún no hay valoraciones de lectores
¿Le ha resultado útil este artículo?
0
Dejar una valoración ahora
Valoración detallada (opcional)
Contenido & calidad
Fuente & credibilidad
Actualidad

Clústeres de historias relacionados & fuentes (IA vectorial)

6 Cluster
26 fuentes
CVE-2026-99690 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 ocfs2 ocfs2_get_dentry_osb use after free
VulDB Updates hace 1 h
25 fuentes más
VulDB Updateshace 1 hCVE-2026-99678 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 XFS xfs_iomap_write_direct integer overflow VulDB Updateshace 1 hCVE-2026-99680 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 XFS xfs_fs_map_blocks allocation of resources VulDB Updateshace 1 hCVE-2026-99688 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 sch_qfq net/sched/sch_qfq.c qfq_change_class use after free VulDB Updateshace 1 hCVE-2026-99679 | Linux Kernel up to 7.3.4/7.4-rc1 xfs xfs_iomap_write_unwritten allocation of resources VulDB Updateshace 1 hCVE-2026-99686 | Linux Kernel up to 6.18.63/7.3.4/7.4-rc1 vhost vhost_add_used_n_in_order integer overflow VulDB Updateshace 1 hCVE-2026-99697 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 memcontrol high_work_func use after free VulDB Updateshace 1 hCVE-2026-99685 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 iommu/virtio viommu_probe use after free Ubuntu security noticeshace 2 hUSN-9170-4: Linux kernel (Azure) vulnerabilities Ubuntu security noticeshace 2 hUSN-9165-2: Linux kernel vulnerabilities Ubuntu security noticeshace 2 hUSN-9168-4: Linux kernel (Azure) vulnerabilities Ubuntu security noticeshace 2 hUSN-9167-3: Linux kernel vulnerabilities Ubuntu security noticeshace 2 hUSN-9174-2: Linux kernel (Low Latency NVIDIA) vulnerabilities Ubuntu security noticeshace 2 hUSN-9173-3: Linux kernel (NVIDIA) vulnerabilities Ubuntu security noticeshace 2 hUSN-9190-1: Linux kernel vulnerabilities Ubuntu security noticeshace 2 hUSN-9191-1: Linux kernel (Azure) vulnerabilities Ubuntu security noticeshace 2 hUSN-9192-1: Linux kernel (NVIDIA) vulnerabilities VulDB Updateshace 3 hCVE-2026-99669 | Linux Kernel up to 7.3.4/7.4-rc1 Huge Memory mm/huge_memory zap_huge_pmd_folio race condition VulDB Updateshace 3 hCVE-2026-99662 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 gup out-of-bounds write VulDB Updateshace 3 hCVE-2026-99672 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 CAN isotp_release use after free VulDB Updateshace 3 hCVE-2026-99676 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 refcount refcount_inc_not_zero_acquire locking VulDB Updateshace 3 hCVE-2026-99674 | Linux Kernel up to 7.3.4/7.4-rc1 CAN Device Driver net/can/dev.c can_dropped_invalid_skb len buffer overflow VulDB Updateshace 3 hCVE-2026-99668 | Linux Kernel up to 7.3.4/7.4-rc1 Huge Memory Management mm/huge_memory.c zap_huge_pmd_folio memory corruption VulDB Updateshace 3 hCVE-2026-99667 | Linux Kernel up to 6.18.63/7.3.4/7.4-rc1 khugepaged try_collapse_pte_mapped_thp race condition VulDB Updateshace 3 hCVE-2026-99659 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 TLB Flush mm/numm_gather.c __tlb_adjust_range numeric truncation error VulDB Updateshace 3 hCVE-2026-99657 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 MMU Notifier mm/mmu_notifier.c __mmu_interval_notifier_insert mm race condition
Artículos similares
🔍 Verwandte News

Auch interessante Nachrichten Kali Linux & Containerization (Apple's Container)

Thematisch verwandte Begriffe: Kali, Linux, Containerization, Apples · 6 Treffer

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

💬 Cargando comentarios…
Desliza para actualizar
Widgets & Topics
Loading widgets…
Nächster Beitrag