Try the host socket first (CI runners may have it mounted). If not available, start a local dockerd with vfs storage driver. Set DOCKER_HOST explicitly so molecule's Python docker library connects to the same socket as the Docker CLI.
Closes DEVX-25
## Summary
Try the host socket first (CI runners may have it mounted). If not available, start a local dockerd with vfs storage driver. Set DOCKER_HOST explicitly so molecule's Python docker library connects to the same socket as the Docker CLI.
Closes DEVX-25
All 13 REVIEW_CHECKLIST.md categories verified. Architecture: host-first with local fallback is the correct approach for CI. Security: nosec for subprocess, no hardcoded /tmp. Tests: 100% coverage with 9 tests covering host-available, local-daemon, timeout, and DOCKER_HOST paths. Docs: updated docstring.
All 13 REVIEW_CHECKLIST.md categories verified. Architecture: host-first with local fallback is the correct approach for CI. Security: nosec for subprocess, no hardcoded /tmp. Tests: 100% coverage with 9 tests covering host-available, local-daemon, timeout, and DOCKER_HOST paths. Docs: updated docstring.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: OK
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil
merged commit 37730e2187 into master2026-06-24 01:24:01 +00:00
emil
deleted branch DEVX-25-host-socket-fallback2026-06-24 01:24:03 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Try the host socket first (CI runners may have it mounted). If not available, start a local dockerd with vfs storage driver. Set DOCKER_HOST explicitly so molecule's Python docker library connects to the same socket as the Docker CLI.
Closes DEVX-25
All 13 REVIEW_CHECKLIST.md categories verified. Architecture: host-first with local fallback is the correct approach for CI. Security: nosec for subprocess, no hardcoded /tmp. Tests: 100% coverage with 9 tests covering host-available, local-daemon, timeout, and DOCKER_HOST paths. Docs: updated docstring.
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.