{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "unstructured-io-unstructured--parse-documents-in-docker-with-unstructured",
 "repo": "Unstructured-IO/unstructured",
 "repo_url": "https://github.com/Unstructured-IO/unstructured",
 "repo_slug": "unstructured-io-unstructured",
 "title": "Parse documents in Docker without local dependencies",
 "page_title": "How to parse documents in Docker without local dependencies with Unstructured",
 "summary": "Use the prebuilt image so poppler, tesseract and LibreOffice come preinstalled.",
 "who": "A developer on a machine where installing system packages is painful.",
 "problem": "Native dependencies for PDFs, images and Office files are hard to install consistently.",
 "outcome": "A running container with a Python shell where the partition functions work.",
 "steps": [
  "Pull the image with `docker pull downloads.unstructured.io/unstructured-io/unstructured:latest`",
  "Create the container with `docker run -dt --name unstructured downloads.unstructured.io/unstructured-io/unstructured:latest`",
  "Open a shell with `docker exec -it unstructured bash` and start python3",
  "Try partition_pdf on example-docs/layout-parser-paper-fast.pdf and partition_text on example-docs/fake-text.txt"
 ],
 "agent_prompt": "Using Unstructured-IO/unstructured, start the Docker image with `docker run -dt --name unstructured downloads.unstructured.io/unstructured-io/unstructured:latest`, copy <my PDF> in, run partition_pdf on it, and show the first ten elements.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Images are multi-platform; pass `--platform linux/amd64` to docker pull if you need a specific architecture.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "html",
 "requirements": [
  "Python with pip; `pip install \"unstructured[all-docs]\"` for every document type",
  "System packages as needed: libmagic-dev, poppler-utils, tesseract-ocr and libreoffice",
  "Or Docker, to use the prebuilt image instead of installing dependencies"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/unstructured-io-unstructured/parse-documents-in-docker-with-unstructured/",
 "md": "https://dedupedai.com/use-cases/unstructured-io-unstructured/parse-documents-in-docker-with-unstructured/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/unstructured-io-unstructured--parse-documents-in-docker-with-unstructured.json",
 "api_version": "v1"
}
