Limits
What untainer does not do, or does at a cost, with the scripts that measured each number.
What untainer does not do, or does at a cost. Numbers point at the script that measured them.
#Images
- linux/arm64 only. The guest's user space is aarch64; an image without a
linux/arm64variant cannot be built. The official Docker Hub images have one. - Not every part of an image's config. Its
HEALTHCHECKandVOLUMEdeclarations have no effect: the readiness check is the probe given tountainer buildorrun(), and a volume is one given torun(). - Software installed outside a package manager (such as
nodein the node images, or Postgres in the postgres images) is not inpackages.json.
#Running
- The guest's user space is emulated. The kernel is compiled to WebAssembly; programs in the
image are aarch64 machine code run by unkernel's emulator (with a JIT for hot code). CPU-bound
work is slower than native. Measured starts, from a server on the same machine: node:24-alpine
ready in 0.8-0.9 s in Chrome,
postgres:17-alpine in 5.9 s with its initdb (
spikes/21-stores/browser.mjs). - One memory pool, fixed at boot.
memoryMiBis the whole VM's; there are no limits per container, and when memory runs out the kernel kills the largest process of the VM, in whichever container (see Memory). CPU is not limited. - The writable layer is memory. A container's writes go to a tmpfs of at most half the VM's memory, gone when it stops; use a volume for data that must stay or grow.
- The calling thread, when you choose it. The VM runs in a worker by default. With
worker: false, or with a network policy, it runs on the calling thread, and a guest that loops in its kernel holds that thread (seen close to out of memory, 7 times in 660 runs,spikes/29-oom-hang/).
#Network
- No incoming connections, except
publishPort()/untainer run -pon Node. In a browser a container's ports are reached withcontainer.fetch()andconnect()only. - No outgoing connections by default. On Node,
untainer run --netandnet: policyBackend(directBackend())give the guest the internet without the host's own network; in a browser, unkernel's wisp backend needs a wisp server, and is not tested with untainer. See Network. - One network per runtime: containers share it, as a pod does; a port is held by one of them.
#Compose
untainer up reads a subset: image, environment, ports, volumes, depends_on (with
service_started and service_healthy) and command. Other keys are named in a warning; UDP
ports and port ranges are ignored.
#Hosting
- jsDelivr serves a GitHub repository only up to 50 MB at one ref.
- GitHub Pages (
gh-pages:) cannot be pinned. - A browser cannot load private images (
authis Node only).
#Browsers
WebAssembly JSPI is required to run containers in a page. Tested: Chrome, Firefox (on Linux) and Safari. Safari gets the 32-bit build of the kernel, because it lacks 64-bit WebAssembly memory.