Commit Graph

5 Commits

Author SHA1 Message Date
e6e5eadcf8 Allow opencode to run Docker images via a dind sidecar
opencode now drives a dedicated Docker-in-Docker container instead of the
host daemon, so it can build/run images and bring up compose stacks from
within its own container.

Notes:
- dind runs in PRIVILEGED mode, this required for a nested docker daemon.
- opencode itselfs remains unprivileged
- opencode talks to dind over TCP (DOCKER_HOST=tcp://dind:2375)
  Consequence: services started in dind are reachable at dind:<port>, not
  localhost.
- The workspace needs to be bind-mounted at the same absolute path in both containers
  so compose bind-mounts resolve inside the dind daemon.
- /var/lib/docker is persisted on a mounted volume to keep images warm across
restarts.
- uses the rpio registry mirror for quicker pulls
2026-07-06 12:51:32 +02:00
Aad Versteden
1f357fe2e3 Remove version keyword
Because Docker doesn't understand that version has a value for documentation, we
otherwise get an error.
2026-07-02 17:07:28 +02:00
felix
113db0b0dd Build version 2026-07-02 16:13:14 +02:00
felix
46b52b2207 mount the config folder 2026-07-02 15:13:09 +02:00
felix
a52876cd66 initial commit 2026-07-02 12:54:55 +02:00