hermes - 💡(How to fix) Fix [Bug]: The docker-extra_args configuration is invalid in config. yml and cannot be read. [1 pull requests]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Fix Action

Fixed

Code Example

==> agent.log <==
2026-06-05 13:36:52,908 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker: mounting skills dir /root/.hermes/skills -> /root/.hermes/skills
2026-06-05 13:36:52,909 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker: mounting cache dir /root/.hermes/cache/documents -> /root/.hermes/cache/documents
2026-06-05 13:36:52,909 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker: mounting cache dir /root/.hermes/image_cache -> /root/.hermes/cache/images
2026-06-05 13:36:52,909 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker: mounting cache dir /root/.hermes/audio_cache -> /root/.hermes/cache/audio
2026-06-05 13:36:52,968 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker volume_args: ['-v', '/opt/docker-data:/workspace:rw', '-v', '/var/run/docker.sock:/var/run/docker.sock:rw', '-v', '/usr/bin/docker:/usr/bin/docker:ro', '-v', '/root/.hermes/skills:/root/.hermes/skills:ro', '-v', '/root/.hermes/cache/documents:/root/.hermes/cache/documents:ro', '-v', '/root/.hermes/image_cache:/root/.hermes/cache/images:ro', '-v', '/root/.hermes/audio_cache:/root/.hermes/cache/audio:ro']
2026-06-05 13:36:52,968 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker run_args: ['--cap-drop', 'ALL', '--cap-add', 'DAC_OVERRIDE', '--cap-add', 'CHOWN', '--cap-add', 'FOWNER', '--security-opt', 'no-new-privileges', '--pids-limit', '256', '--tmpfs', '/tmp:rw,nosuid,size=512m', '--tmpfs', '/var/tmp:rw,noexec,nosuid,size=256m', '--tmpfs', '/run:rw,noexec,nosuid,size=64m', '--cap-add', 'SETUID', '--cap-add', 'SETGID', '-v', '/root/.hermes/sandboxes/docker/default/home:/root', '--cpus', '12.0', '--memory', '5120m', '-v', '/opt/docker-data:/workspace:rw', '-v', '/var/run/docker.sock:/var/run/docker.sock:rw', '-v', '/usr/bin/docker:/usr/bin/docker:ro', '-v', '/root/.hermes/skills:/root/.hermes/skills:ro', '-v', '/root/.hermes/cache/documents:/root/.hermes/cache/documents:ro', '-v', '/root/.hermes/image_cache:/root/.hermes/cache/images:ro', '-v', '/root/.hermes/audio_cache:/root/.hermes/cache/audio:ro']
2026-06-05 13:36:53,204 INFO [20260605_133515_3cdae9] tools.environments.docker: Started container hermes-b1ff100d (468da7452831)

---
RAW_BUFFERClick to expand / collapse

Bug Description

terminal: backend: docker modal_mode: auto cwd: . timeout: 180 env_passthrough: [] shell_init_files: [] auto_source_bashrc: true docker_image: nikolaik/python-nodejs:python3.11-nodejs20 docker_forward_env: [] docker_env: {} singularity_image: docker://nikolaik/python-nodejs:python3.11-nodejs20 modal_image: nikolaik/python-nodejs:python3.11-nodejs20 daytona_image: nikolaik/python-nodejs:python3.11-nodejs20 container_cpu: 12.0 container_memory: 5120 container_disk: 51200 container_persistent: true docker_volumes: '["/opt/docker-data:/workspace:rw","/var/run/docker.sock:/var/run/docker.sock:rw","/usr/bin/docker:/usr/bin/docker:ro"]' docker_mount_cwd_to_workspace: false docker_extra_args: '["--network=hermes-net","--dns=172.16.18.1","--dns=172.16.18.2"]' docker_run_as_host_user: false persistent_shell: true vercel_runtime: node24 lifetime_seconds: 300 docker_extra_args cannot be read. Can only be defined as TERMINAL_DOCKER_EXTRA_ARGS='["--network=hermes-net","--dns=172.16.18.1","--dns=172.16.18.2"]'

Steps to Reproduce

run hermes

Expected Behavior

2026-06-05 13:13:57,489 INFO [20260605_131144_77593f] tools.environments.docker: Docker run_args: ['--cap-drop', 'ALL', '--cap-add', 'DAC_OVERRIDE', '--cap-add', 'CHOWN', '--cap-add', 'FOWNER', '--security-opt', 'no-new-privileges', '--pids-limit', '256', '--tmpfs', '/tmp:rw,nosuid,size=512m', '--tmpfs', '/var/tmp:rw,noexec,nosuid,size=256m', '--tmpfs', '/run:rw,noexec,nosuid,size=64m', '--cap-add', 'SETUID', '--cap-add', 'SETGID', '-v', '/root/.hermes/sandboxes/docker/default/home:/root', '--cpus', '12.0', '--memory', '5120m', '-v', '/opt/docker-data:/workspace:rw', '-v', '/var/run/docker.sock:/var/run/docker.sock:rw', '-v', '/usr/bin/docker:/usr/bin/docker:ro', '-v', '/root/.hermes/skills:/root/.hermes/skills:ro', '-v', '/root/.hermes/cache/documents:/root/.hermes/cache/documents:ro', '-v', '/root/.hermes/image_cache:/root/.hermes/cache/images:ro', '-v', '/root/.hermes/audio_cache:/root/.hermes/cache/audio:ro', '--network=hermes-net', '--dns=172.16.18.1', '--dns=172.16.18.2']

Actual Behavior

2026-06-05 13:36:52,968 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker run_args: ['--cap-drop', 'ALL', '--cap-add', 'DAC_OVERRIDE', '--cap-add', 'CHOWN', '--cap-add', 'FOWNER', '--security-opt', 'no-new-privileges', '--pids-limit', '256', '--tmpfs', '/tmp:rw,nosuid,size=512m', '--tmpfs', '/var/tmp:rw,noexec,nosuid,size=256m', '--tmpfs', '/run:rw,noexec,nosuid,size=64m', '--cap-add', 'SETUID', '--cap-add', 'SETGID', '-v', '/root/.hermes/sandboxes/docker/default/home:/root', '--cpus', '12.0', '--memory', '5120m', '-v', '/opt/docker-data:/workspace:rw', '-v', '/var/run/docker.sock:/var/run/docker.sock:rw', '-v', '/usr/bin/docker:/usr/bin/docker:ro', '-v', '/root/.hermes/skills:/root/.hermes/skills:ro', '-v', '/root/.hermes/cache/documents:/root/.hermes/cache/documents:ro', '-v', '/root/.hermes/image_cache:/root/.hermes/cache/images:ro', '-v', '/root/.hermes/audio_cache:/root/.hermes/cache/audio:ro']

Affected Component

Configuration (config.yaml, .env, hermes setup)

Messaging Platform (if gateway-related)

No response

Debug Report

==> agent.log <==
2026-06-05 13:36:52,908 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker: mounting skills dir /root/.hermes/skills -> /root/.hermes/skills
2026-06-05 13:36:52,909 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker: mounting cache dir /root/.hermes/cache/documents -> /root/.hermes/cache/documents
2026-06-05 13:36:52,909 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker: mounting cache dir /root/.hermes/image_cache -> /root/.hermes/cache/images
2026-06-05 13:36:52,909 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker: mounting cache dir /root/.hermes/audio_cache -> /root/.hermes/cache/audio
2026-06-05 13:36:52,968 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker volume_args: ['-v', '/opt/docker-data:/workspace:rw', '-v', '/var/run/docker.sock:/var/run/docker.sock:rw', '-v', '/usr/bin/docker:/usr/bin/docker:ro', '-v', '/root/.hermes/skills:/root/.hermes/skills:ro', '-v', '/root/.hermes/cache/documents:/root/.hermes/cache/documents:ro', '-v', '/root/.hermes/image_cache:/root/.hermes/cache/images:ro', '-v', '/root/.hermes/audio_cache:/root/.hermes/cache/audio:ro']
2026-06-05 13:36:52,968 INFO [20260605_133515_3cdae9] tools.environments.docker: Docker run_args: ['--cap-drop', 'ALL', '--cap-add', 'DAC_OVERRIDE', '--cap-add', 'CHOWN', '--cap-add', 'FOWNER', '--security-opt', 'no-new-privileges', '--pids-limit', '256', '--tmpfs', '/tmp:rw,nosuid,size=512m', '--tmpfs', '/var/tmp:rw,noexec,nosuid,size=256m', '--tmpfs', '/run:rw,noexec,nosuid,size=64m', '--cap-add', 'SETUID', '--cap-add', 'SETGID', '-v', '/root/.hermes/sandboxes/docker/default/home:/root', '--cpus', '12.0', '--memory', '5120m', '-v', '/opt/docker-data:/workspace:rw', '-v', '/var/run/docker.sock:/var/run/docker.sock:rw', '-v', '/usr/bin/docker:/usr/bin/docker:ro', '-v', '/root/.hermes/skills:/root/.hermes/skills:ro', '-v', '/root/.hermes/cache/documents:/root/.hermes/cache/documents:ro', '-v', '/root/.hermes/image_cache:/root/.hermes/cache/images:ro', '-v', '/root/.hermes/audio_cache:/root/.hermes/cache/audio:ro']
2026-06-05 13:36:53,204 INFO [20260605_133515_3cdae9] tools.environments.docker: Started container hermes-b1ff100d (468da7452831)

Operating System

debain13

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

<img width="1094" height="619" alt="Image" src="https://github.com/user-attachments/assets/acb7c2c8-7df4-4645-9f71-9dbd5041052d" />

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING