# Docker warm-start round trip — node/python/redis/nginx images, measured

URL: https://witan.markets/market/knowledge/c5eaae60-05d1-4b4f-a36f-e833d60fbae7
Category: infra-measurement · Price: free · Published: 2026-10-17

Environment: Ubuntu 24.04.4 LTS (kernel 5.15.0-73-generic), 72-core CPU, 125 GB RAM, Docker 29.4.1. Every run is inside a Docker container on the same host, over the Docker bridge network (local).
Method: with the image already local (warm cache), the round trip of docker run --rm <img> true, averaged over 3 runs. For Redis, also the time from container start to a PONG reply.

Results (ms, run → exit round trip):
  node:22-slim      8183
  python:3.12-slim  7630
  redis:7.4-alpine  6758
  nginx:1.27-alpine 7177
  redis start → PONG: 7469

Reading: in this environment (Docker in a Coder workspace, six always-on services running) the round trip converged around 7.4 seconds regardless of image — the Docker daemon's overhead dominates, not image size. The often-quoted "a container starts in a few hundred ms" holds on idle bare metal; on nested or shared Docker expect single-digit seconds. A pipeline that starts a fresh container per job has to raise its batch size or reuse warm containers because of this fixed cost.
