Hardened multi-arch DOSBox x86 DOS emulator Web Desktop on Debian 13 (noVNC, 0 fixable CVEs).
157
A hardened multi-arch DOSBox browser-accessible Web Desktop container built on Debian 13 (trixie-slim) with TigerVNC, Openbox, SHA-256-verified static noVNC 1.7.0, and NGINX HTTP/HTTPS reverse proxy. Maintained by Daniel G. Cosenza from FNX Labs.
dgcosenza/dosboxghcr.io/dgcosenza/dosbox (identical signed multi-arch digest)dgcosenza/dosbox-dockerdgcosenza/dosbox packages DOSBox (0.74-3) on Debian 13 (trixie-slim) inside a hardened browser-accessible TigerVNC + Openbox + noVNC 1.7.0 + NGINX (:3000 HTTP / :3001 HTTPS) desktop, automatically mounting /dos as drive C: on startup.
| Component | Resolved Version |
|---|---|
| DOSBox | 0.74.3 |
| Base OS | Debian 13.8 (trixie-slim) |
| Architectures | linux/amd64, linux/arm64 |
| Uncompressed size (per arch) | amd64: 237.9 MB, arm64: 659.0 MB |
| Last verified build (UTC) | 2026-11-28 |
| Published multi-arch digest | dgcosenza/dosbox@sha256:fbc43ac3575298e74320256358c4f139c3388030314438e7bcf0b481f7a7ea53 |
| GHCR mirror | ghcr.io/dgcosenza/dosbox@sha256:fbc43ac3575298e74320256358c4f139c3388030314438e7bcf0b481f7a7ea53 |
| Supply chain | Cosign OIDC signed + SPDX & CycloneDX SBOM attestations + SLSA Build L3 provenance |
| Security gate (Trivy + Grype on SBOM) | 0 fixable findings of any severity (49 upstream-unfixed) |
| Tag | Policy | Description |
|---|---|---|
latest | Moving | Latest verified multi-arch build passing all CVE, Dive, and smoke gates. |
<version> (e.g. 0.74.3) | Moving | Latest verified build for that upstream release. |
<version>-<YYYYMMDD> | Immutable | Date-stamped daily security rebuild. |
sha-<short> | Immutable | Git commit tag from this repository. |
Pin production deployments by immutable digest: dgcosenza/dosbox@sha256:<digest> or ghcr.io/dgcosenza/dosbox@sha256:<digest>.
| Architecture | Status | Verification |
|---|---|---|
linux/amd64 | Published & natively tested | Native x86_64 build, smoke test, Dive >= 95%, Trivy + Grype 0 fixable CVEs, Cosign OIDC, SLSA L3. |
linux/arm64 | Published & natively tested | Native ARM64 build, smoke test, Dive >= 95%, Trivy + Grype 0 fixable CVEs, Cosign OIDC, SLSA L3. |
Volume ownership note:
docker-compose.example.ymldefaults to a named Docker volume so non-root runtime permissions (1000:1000) are initialized automatically; if switching to a host bind mount, pre-create the directory owned by1000:1000beforedocker compose up -d.
docker run -d --name dosbox --restart unless-stopped \
--security-opt no-new-privileges:true --shm-size 1g \
-p 127.0.0.1:3000:3000 -p 127.0.0.1:3001:3001 \
-e PUID=1000 -e PGID=1000 -e TZ=Etc/UTC \
-v dosbox_config:/config \
dgcosenza/dosbox:latest
See docker-compose.example.yml:
services:
dosbox:
image: dgcosenza/dosbox:latest
container_name: dosbox
restart: unless-stopped
shm_size: "1gb"
security_opt:
- no-new-privileges:true
ports:
- "127.0.0.1:3000:3000"
- "127.0.0.1:3001:3001"
environment:
PUID: "1000"
PGID: "1000"
TZ: "Etc/UTC"
TITLE: "DOSBox"
CUSTOM_USER: "admin"
PASSWORD_FILE: "/run/secrets/dosbox_password"
secrets:
- dosbox_password
volumes:
- dosbox_config:/config
- dosbox_dos:/dos
secrets:
dosbox_password:
file: ./secrets/dosbox_password.txt
volumes:
dosbox_config:
dosbox_dos:
| Variable | Default | Description |
|---|---|---|
PUID / PGID | 1000 / 1000 | UID and GID mapped to the desktop user abc. |
CUSTOM_USER | abc | Username when HTTP Basic Authentication is enabled. |
PASSWORD / PASSWORD_FILE | (empty) | Optional password or Docker secret path enabling HTTP Basic Auth on :3000 / :3001. |
SCREEN_WIDTH / SCREEN_HEIGHT | 1440 / 900 | Initial virtual display geometry (AcceptSetDesktopSize=1 resizes dynamically). |
TITLE | DOSBox | Browser tab title in the noVNC web client. |
TZ | Etc/UTC | Container timezone. |
Ports: 3000/tcp (HTTP noVNC), 3001/tcp (HTTPS noVNC). Volumes: /config, /dos. User: abc (PUID:PGID, default 1000:1000 via setpriv). PID 1: tini.
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
CMD ["sh", "-c", "curl -sk -o /dev/null -w '%{http_code}' --max-time 5 https://127.0.0.1:3001/ | grep -qE '^(200|301|302|401)$'"]
Probes https://127.0.0.1:3001/ and verifies TLS + NGINX + noVNC readiness (200 or 401 when Basic Auth is active).
https://127.0.0.1:3001/ (or place behind a TLS reverse proxy on :3000).PASSWORD_FILE=/run/secrets/... to enforce bcrypt HTTP Basic Authentication via NGINX.cosign verify \
--certificate-identity-regexp="^https://github\.com/dgcosenza/dosbox-docker/\.github/workflows/daily\.yml@refs/heads/main$" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
ghcr.io/dgcosenza/dosbox:latest
gh attestation verify oci://ghcr.io/dgcosenza/dosbox:latest --owner dgcosenza
UNKNOWN–CRITICAL, --ignore-unfixed, exit 1) and Grype on the Syft SPDX SBOM (--only-fixed --fail-on negligible) on both amd64 and arm64.tini PID 1 with least-privilege capabilities and no-new-privileges:true.SECURITY.md.docker buildx build --platform linux/amd64 --load -t dgcosenza/dosbox:local .
./tests/smoke.sh dgcosenza/dosbox:local
.github/workflows/daily.yml runs daily at 05:56 UTC with --no-cache: refreshes the debian:13.8-slim digest and OS security patches, runs smoke + Dive + Trivy + Grype gates on amd64 and arm64, publishes identical Cosign-signed SLSA L3 digests to Docker Hub and GHCR (plus optional Quay.io, GitLab, Codeberg, and Amazon ECR Public mirrors when configured), creates a signed GitHub Release, syncs docs & Docker Hub overview, and manages a single ci-failure issue.
C: drive & X11 keyboard scancode compatibility: Pre-seeds usescancodes=false and mount c /dos in /config/dosbox.conf for TigerVNC keyboard compatibility.abc (1000:1000).Packaging, scripts, workflows, and documentation (packaging: MIT, upstream: GPL-2.0-or-later) are licensed under the MIT License — copyright Daniel G. Cosenza from FNX Labs. Third-party upstream notices: THIRD-PARTY-NOTICES.md.
Maintained by Daniel G. Cosenza from FNX Labs. Upstream project: dosbox-staging/dosbox-staging.
Content type
Image
Digest
sha256:fbc43ac35…
Size
226.9 MB
Last updated
about 4 hours ago
docker pull dgcosenza/dosbox