Skip to content

Permission denied on /home/user/.exitbox-config/config.yaml — config directory not mounted into container #5

@batistein

Description

@batistein

Describe the bug

Running exitbox run claude fails immediately with a permission error and the agent never starts.

To Reproduce

exitbox run claude -vv

Output:

[INFO] Starting Squid proxy...
/usr/local/bin/docker-entrypoint: line 136: /home/user/.exitbox-config/config.yaml: Permission denied
[INFO] Stopping Squid proxy (no running agents)...

Environment

  • OS: Fedora
  • SELinux: enforcing
  • Container runtime: Podman (rootless)

Root Cause

The container entrypoint tries to write to /home/user/.exitbox-config/config.yaml, but this path is inside the image's read-only filesystem layer. The host directory ~/.exitbox-config is never bind-mounted into the claude container.

Inspecting the container after a failed run confirms only squid.conf is mounted — ~/.exitbox-config is absent:

"Mounts": [
  {
    "Type": "bind",
    "Source": "/home/myuser/.cache/exitbox/squid.conf",
    "Destination": "/etc/squid/squid.conf"
  }
]

Expected Behavior

~/.exitbox-config on the host should be bind-mounted into the container at /home/user/.exitbox-config, so config is persisted across runs and the entrypoint can write to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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