REA container-layer notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Container layers become REA inputs after extraction. Do not invent a first-class OCI reverse-engineering product for 6.7.x.

Mental model

  1. Authorize the image/tarball (your build, customer deliverable, lab corpus).
  2. Extract layers/filesystem with host tools — outside REA.
  3. Route each interesting file through the matching REA lane (native, JS, Android, archive).
  4. Keep Evidence per member path; record that OCI handling happened outside REA.

Minimal path

# host: save/extract an authorized image to a disposable lab directory
# then, examples of re-entry (choose what matches the member):
npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json
# or native/static routes on /absolute/path/to/binary

Compare

NeedPage / posture
agentenv Dockerfile exportrea-container-images
Layer/FS reverse engineeringThis page — extract then known routes
deb/rpm inside a layerrea-deb-rpm-notes after extract
Snap/Flatpak bundlesrea-snap-flatpak

Scope we will not cover

  • No registry credential theft or mass Hub scraping.
  • No container escape / privilege-escalation cookbooks.
  • No claiming REA mounts every overlayfs automatically.

RepoRead is unofficial. Prefer CLI/agent-environment docs for export, and host OCI tools for layers.

FAQ

Does REA inventory arbitrary OCI/Docker images?

No general inspect_oci_image / layer walker is advertised in rea-agents 6.7.0. rea-container-images covers environment-export Dockerfiles for agentenv — a different feature.

How do I analyze a local image I am authorized to hold?

Extract layers or filesystem trees with host tooling your lab licenses (docker save/skopeo/umoci/etc. per your policy), then point REA at absolute paths of ELF/PE/JS/apk members.

Are layer tarballs just archives?

Often yes — gzip/tar members. Inventory if admitted; otherwise extract, then re-enter known routes.

Can RepoRead pull from Docker Hub for me?

No. No registry scraping or credential theft.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources