Unofficial free-threaded Python 3.14t images for Trixie, Slim, and Alpine.
215
Unofficial Python 3.14 free-threaded Docker images based on Debian Trixie, Debian Trixie Slim, and Alpine.
These images provide a python:3.14-*-style experience, but use the experimental/free-threaded Python build, commonly referred to as Python 3.14t.
| Tag | Base image | Recommended use |
|---|---|---|
3.14t-trixie | Debian Trixie | Fuller Debian environment, useful when compatibility and system tooling matter |
3.14t-slim | Debian Trixie Slim | Recommended default for most projects |
3.14t-alpine | Alpine Linux | Smallest image, best for lightweight or mostly pure-Python projects |
FROM shadowebtechnologies/python:3.14t-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "-m", "your_app"]
These images are built with a free-threaded Python runtime. Inside the container, the interpreter is available as:
python
python3
python3.14t
You can verify the free-threaded build with:
python - <<'PY'
import sys
import sysconfig
print(sys.version)
print("abiflags:", sys.abiflags)
print("Py_GIL_DISABLED:", sysconfig.get_config_var("Py_GIL_DISABLED"))
print("GIL enabled:", sys._is_gil_enabled())
PY
Expected output includes:
abiflags: t
Py_GIL_DISABLED: 1
GIL enabled: False
Python free-threading is still experimental. Some third-party packages, especially packages with native extensions, may not yet fully support free-threaded Python.
For the best compatibility, use:
FROM shadowebtechnologies/python:3.14t-slim
Use the Alpine image only after testing your dependency stack against Alpine/musl and free-threaded Python.
shadowebtechnologies/python:3.14t-trixie
shadowebtechnologies/python:3.14t-slim
shadowebtechnologies/python:3.14t-alpine
These are unofficial images and are not affiliated with the official Python Docker images or the Python Software Foundation.
Content type
Image
Digest
sha256:f7629adb2…
Size
36.4 MB
Last updated
3 months ago
docker pull shadowebtechnologies/python:3.14t-alpine