Commit Graph

11 Commits

Author SHA1 Message Date
mmmohebi 8eed9f9e13 feat(hoster): Update container ID retrieval
Retrieve container ID from 'Actor.ID' and add validation
2025-11-18 13:20:04 +03:30
mmmohebi 8b5ed3cd19 fix: Initialize dockerClient to None
Changed dockerClient initialization to None to defer client creation until needed. This may prevent issues with early initialization in certain environments.
2025-11-18 13:07:49 +03:30
mmmohebi 19a2c3509c feat(docker-hoster): Update default socket path and Dockerfile CMD
The default docker socket path in hoster.py has been updated from "tmp/docker.sock" to "/tmp/docker.sock" to match the Dockerfile's VOLUME mounting. The Dockerfile has also been updated to use ENTRYPOINT and CMD for better container execution, and the README.md has been updated with the new image name.
2025-11-18 13:01:45 +03:30
mmmohebi 7ea0ee327b fix(hoster.py): Refactor event handling and hosts file update
Refactored the Docker event handling to use json parsing for more robust event processing. Updated the hosts file update logic to correctly handle existing sections and ensure atomic writes. Improved container info extraction and error handling.
2025-11-18 12:24:33 +03:30
Aurele Oules eb55a805b4 Handle container rename 2023-10-23 23:27:47 +02:00
Peter McConnell 74fa987b9e Only attempt lines trim if the list isn't empty 2020-04-27 20:26:00 +01:00
Eric de Ruiter c0436fd225
Append domain name to host name 2020-03-09 16:48:05 +01:00
David Darias ceb275ce2d Filter docker events by type 2018-06-30 16:55:28 -04:00
David Darias 5d130b9303 Include support for docker network aliases 2018-06-30 16:38:01 -04:00
David Darias 1e96db458d Fixed a bug on container stop 2015-11-18 21:24:45 -05:00
David Darias 5e6a2919bf Initial commit 2015-11-02 21:27:37 -05:00