Hardened rootless PairDrop local file sharing server on Debian 13 (multi-arch, 0 fixable CVEs).
158
A hardened, rootless, read-only-rootfs PairDrop local network and WebRTC file sharing container built from official source on Debian 13 (trixie-slim) + Node 24 LTS. Maintained by Daniel G. Cosenza from FNX Labs.
dgcosenza/pairdropghcr.io/dgcosenza/pairdrop (identical signed multi-arch digest)dgcosenza/pairdrop-dockerdgcosenza/pairdrop is a drop-in, zero-fixable-CVE replacement for lscr.io/linuxserver/pairdrop. It builds official schlagmichdoch/PairDrop releases in a Node 24 builder stage and copies only the /usr/local/bin/node binary and production dependencies into debian:13.8-slim (eliminating npm and corepack from the runtime image). It runs strictly as non-root UID/GID 1000:1000 with read_only: true and cap_drop: [ALL].
| Component | Resolved Version |
|---|---|
| PairDrop | 1.11.3 |
| Base OS | Debian 13.8 (trixie-slim) |
| Architectures | linux/amd64, linux/arm64 |
| Uncompressed size (per arch) | amd64: 97.6 MB, arm64: 266.3 MB |
| Last verified build (UTC) | 2026-11-28 |
| Published multi-arch digest | dgcosenza/pairdrop@sha256:5032062cbd355cf80d6429160ddac1c3e5c6d4415d3351c89e44f7e3170a560f |
| GHCR mirror | ghcr.io/dgcosenza/pairdrop@sha256:5032062cbd355cf80d6429160ddac1c3e5c6d4415d3351c89e44f7e3170a560f |
| 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 (15 upstream-unfixed) |
| Tag | Policy | Description |
|---|---|---|
latest | Moving | Latest verified multi-arch build passing all CVE, Dive, and smoke gates. |
<version> (e.g. 1.11.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/pairdrop@sha256:<digest> or ghcr.io/dgcosenza/pairdrop@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 pairdrop --restart unless-stopped \
--read-only --tmpfs /tmp:uid=1000,gid=1000 \
--cap-drop ALL --security-opt no-new-privileges:true \
-p 127.0.0.1:3000:3000 \
dgcosenza/pairdrop:latest
See docker-compose.example.yml:
services:
pairdrop:
image: dgcosenza/pairdrop:latest
container_name: pairdrop
restart: unless-stopped
read_only: true
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
tmpfs:
- /tmp:uid=1000,gid=1000
ports:
- "127.0.0.1:3000:3000"
environment:
TZ: "Etc/UTC"
PORT: "3000"
RATE_LIMIT: "false"
WS_FALLBACK: "false"
| Variable | Default | Description |
|---|---|---|
PORT | 3000 | HTTP listening port for the PairDrop web and signaling server. |
RATE_LIMIT | false | Set to true to enable request rate limiting (--rate-limit). |
WS_FALLBACK | false | Set to true to enable WebSocket fallback when WebRTC is blocked. |
TZ | Etc/UTC | Container timezone. |
Ports: 3000/tcp (PairDrop WebUI & WebSocket signaling). Volumes: None required (stateless signaling server). User: pairdrop (UID/GID 1000:1000). PID 1: tini.
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
CMD ["/usr/local/bin/pairdrop-healthcheck"]
Probes http://127.0.0.1:${PORT}/ and verifies HTTP 200 with PairDrop HTML content.
linuxserver/pairdropdgcosenza/pairdrop@sha256:<digest>.RATE_LIMIT, WS_FALLBACK, and port 3000; enable read_only: true and cap_drop: [ALL].cosign verify \
--certificate-identity-regexp="^https://github\.com/dgcosenza/pairdrop-docker/\.github/workflows/daily\.yml@refs/heads/main$" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
ghcr.io/dgcosenza/pairdrop:latest
gh attestation verify oci://ghcr.io/dgcosenza/pairdrop: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/pairdrop:local .
./tests/smoke.sh dgcosenza/pairdrop:local
.github/workflows/daily.yml runs daily at 05:33 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.
npm in runtime: Copies only /usr/local/bin/node and production node_modules into debian:13.8-slim.read_only: true: Runs with an immutable root filesystem.Packaging, scripts, workflows, and documentation (packaging: MIT, upstream: GPL-3.0-only) 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: schlagmichdoch/PairDrop.
Content type
Image
Digest
sha256:5032062cb…
Size
93 MB
Last updated
about 4 hours ago
docker pull dgcosenza/pairdrop