Skip to content

[Feature]: Add tempfs size override in config.yaml to override docker backend _SECURITY_ARGS #17048

@firstl15ht

Description

@firstl15ht

Problem or Use Case

Hi,

I am trying to use spaCy to perform NLP tasks. Using Docker backend, terminal tool fails with OSError: [Errno 28] No space left on device when the agent attempts to execute python -m spacy download en_core_web_trf to download pre-trained model/pipeline. Based on the error stack trace, it appears python -m spacy download command internally downloads the model to tmpfs and Hermes' security hardening appears to not allow overrides on tempfs size limits.

Please consider the ability to allow users to override containers' tempfs settings via config.yaml.

Proposed Solution

Add container_tempfs_tmp_size (default to 512MB), container_tempfs_var_tmp_size (default to 256MB), container_tempfs_run_size (default to 64MB) to config.yaml

Alternatives Considered

No response

Feature Type

Configuration option

Scope

Contribution

  • I'd like to implement this myself and submit a PR

Debug Report (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havearea/configConfig system, migrations, profilesarea/dockerDocker image, Compose, packagingbackend/dockerDocker container executiontype/featureNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions