Commit Graph

8 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
48caec8669 improve readme readability and add some tutorials 2026-07-06 12:48:03 +02:00
felix
8a4e21fc2e Update README.md 2026-07-02 16:17:02 +02:00
felix
46b52b2207 mount the config folder 2026-07-02 15:13:09 +02:00
felix
f3332a8014 update readme 2026-07-02 14:02:23 +02:00
felix
9e729a4d72 Update readme 2026-07-02 13:53:04 +02:00
felix
b38a84de8b Added models + instructions + config 2026-07-02 13:46:40 +02:00
felix
a52876cd66 initial commit 2026-07-02 12:54:55 +02:00