Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

1.8 KiB

API Reference: Docker Container Hardening

Docker CLI

List Containers

docker ps --format '{{json .}}'

Inspect Container

docker inspect <container_id>

Key Inspect Fields

Path Description
.HostConfig.Privileged Privileged mode
.HostConfig.NetworkMode Network namespace
.HostConfig.CapAdd Added capabilities
.HostConfig.ReadonlyRootfs Read-only filesystem
.HostConfig.Memory Memory limit (bytes)
.Config.User Container user

CIS Docker Benchmark Checks

Check Description Severity
4.1 Non-root user HIGH
5.3 Restrict capabilities HIGH
5.4 No privileged containers CRITICAL
5.5 No sensitive host mounts HIGH
5.10 No host network HIGH
5.12 Read-only root FS MEDIUM
5.13 CPU limits set LOW
5.14 Memory limits set MEDIUM

Secure Dockerfile Practices

Non-Root User

FROM alpine:3.18
RUN adduser -D appuser
USER appuser

Read-Only Filesystem

docker run --read-only --tmpfs /tmp:rw,noexec,nosuid myimage

Drop Capabilities

docker run --cap-drop ALL --cap-add NET_BIND_SERVICE myimage

Resource Limits

docker run --memory=512m --cpus=1.0 myimage

Docker Bench Security

Run Audit

docker run --rm --net host --pid host --userns host \
    --cap-add audit_control \
    -v /var/lib:/var/lib \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /etc:/etc \
    docker/docker-bench-security

Seccomp and AppArmor

Custom Seccomp Profile

docker run --security-opt seccomp=profile.json myimage

AppArmor Profile

docker run --security-opt apparmor=docker-default myimage