docs: recommend core-dump, log-rotation, profile-volume and telemetry flags for the Camofox container
Problem
The documented docker run for Camofox has no protection against core-dump accumulation. The Firefox engine (Camoufox) occasionally crashes and restarts itself; on hosts with core_pattern=core and Docker's LimitCORE=infinity, each crash writes a core.* file (10 MB to 1+ GB) into /app inside the container's writable layer. Over a few months this can fill tens of GB of disk, and the files are only removed when the container is recreated.
Proposal
Update docker/setup.md and data/advanced-browsing-reference.md:
- add
--ulimit core=0 - add log rotation:
--log-opt max-size=10m --log-opt max-file=3 - add a profile volume:
-v camofox-data:/root/.camofox(keeps cookies/profiles when the container is recreated) - add
-e CAMOFOX_CRASH_REPORT_ENABLED=false(disables external crash reports) - recommend pinning a version tag instead of
latest - note that
--memoryis ignored on hosts without memory cgroup support - add a short "Updating the container" section (pull, backup tag, recreate, verify)
Also in scripts/check.sh: the "container not found" hint prints ...camofox-browser:latest; point to docker/setup.md instead, so it does not contradict the version-pinning advice.
Released in v3.2.0.