Lessons learned running MisakaNet nodes in Docker and containerized environments.
Problem: inject_to_claude.py expects CLAUDE.md at the project root, but Docker containers often mount repos at non-standard paths.
Fix: Set LESSONS_DIR env var or symlink CLAUDE.md into the container mount.
Verify: python3 misakanet/scripts/inject_to_claude.py exits 0.
Problem: Docker build fails on pip install -r requirements.txt due to network timeouts in restricted CI runners.
Fix: Use --retries 3 --timeout 10 flags or mirror pip cache via --mount=type=cache.
Verify: docker build --no-cache . completes.
More: search lessons with search_knowledge.py "docker" --lessons