aac9b83576f74236d5cabaeab9a3e7ddc4cdc825
continuous-integration/drone/push Build is passing
Implement FindContainerName method on DockerAPI that attempts exact match first, then falls back to prefix-based matching (e.g., extracting prefix before dash like "service-" in "service-abc") to replicate the old shell script's `grep $D"-"` behavior. Update firewall orchestrator to use this resolution before connecting containers to networks, improving robustness when container names vary from configured selectors.
Description
Dockerfile and firewall rules creater from services jsons.
Languages
Go
78.9%
Shell
20.6%
Dockerfile
0.5%