Skip to content

Docling Permission Denied on Model Download in Docker with Non-Root User #2812

@Mirooww

Description

@Mirooww

I'm running Docling in a Docker container with a non-root user. When DocumentConverter tries to initialize, it fails with a permission error while attempting to download OCR models:

[Errno 13] Permission denied: '/usr/local/lib/python3.12/site-packages/rapidocr/models/ch_PP-OCRv4_det_infer.pth'

The models still attempt to download at runtime when the non-root user calls DocumentConverter(), causing permission errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions