Skip to content

Remove Docker socket access from API container #7

@las7

Description

@las7

Problem

The API container mounts /var/run/docker.sock, which grants root-equivalent control over the host if the API is compromised.

Proposed change

  • Split execution into a dedicated executor service (RPC-based).
  • API server submits job specs; executor launches containers.
  • Executor runs with minimal permissions and strict allowlists.

Acceptance criteria

  • API container no longer mounts docker.sock.
  • Executor enforces image allowlist.
  • Executor disallows privileged containers.
  • Executor disallows arbitrary mounts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrainfra relatedsecuritysecurity related

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions