Hacker Virtual Machines, Containers

Proot-Distro
Termux
Kali Linux
Blackarch Linux
Podman
Docker
Network Scanning
This article explains how to use Proot-Distro on Termux to install Kali and Blackarch Linux. It compares Podman with Docker for faster image pulling speed, discusses granting container permissions for network scanning commands, and suggests using Github searches for finding relevant Docker images. Additionally, it provides guidance on utilizing Kali and Blackarch Linux Docker images on Ubuntu with Docker and recommends updating installed Blackarch for better performance.
Published

March 30, 2024


on termux you use proot-distro for installing kali and blackarch linux.

install via apt install proot-distro


use podman over docker, since we do not need gpu here, and want faster pulling speed.

recent version of podman requires extra layer of domain/index specification before searching and pulling images.

podman search docker.io/kali
podman pull docker.io/kalilinux/kali-rolling

if you want to run network scanning commands like nmap, you would grant the container sufficient permissions:

podman run --cap-add=NET_RAW --cap-add=NET_ADMIN --rm -it docker.io/parrotsec/security

metasploitable2, parrot linux also have docker images. more cybersecurity/ctf related images to be found.

run this query in search engines:

site:github.com cybersecurity docker images

https://github.com/VaultSEC/osint

https://github.com/PberAcademy/Dockerimages


on ubuntu you use docker for pulling kali and blackarch linux images. latest images are pushed to docker hub.

sudo docker pull kalilinux/kali-rolling
# kali-rolling does not contain all packages
# run inside container: apt update && apt install -y kali-linux-headless
sudo docker pull blackarchlinux/blackarch

it is always recommend to update and upgrade the blackarch you installed.