{"id":18544084,"url":"https://github.com/swagdevops/kamaze-docker_hosts","last_synced_at":"2025-05-15T05:31:06.542Z","repository":{"id":172973431,"uuid":"139952445","full_name":"SwagDevOps/kamaze-docker_hosts","owner":"SwagDevOps","description":"Keep hosts up-to-date with docker network.","archived":false,"fork":false,"pushed_at":"2018-08-06T00:33:19.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T09:15:12.997Z","etag":null,"topics":["docker","docker-hosts","docker-network","hosts","hosts-file","hosts-manage","hostsfile"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SwagDevOps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-06T07:57:25.000Z","updated_at":"2018-08-06T00:33:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb088eaa-b050-4949-b7a3-3b36f4d11aee","html_url":"https://github.com/SwagDevOps/kamaze-docker_hosts","commit_stats":null,"previous_names":["swagdevops/kamaze-docker_hosts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwagDevOps%2Fkamaze-docker_hosts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwagDevOps%2Fkamaze-docker_hosts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwagDevOps%2Fkamaze-docker_hosts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwagDevOps%2Fkamaze-docker_hosts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwagDevOps","download_url":"https://codeload.github.com/SwagDevOps/kamaze-docker_hosts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254281737,"owners_count":22045010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-hosts","docker-network","hosts","hosts-file","hosts-manage","hostsfile"],"created_at":"2024-11-06T20:15:20.561Z","updated_at":"2025-05-15T05:31:06.519Z","avatar_url":"https://github.com/SwagDevOps.png","language":"Ruby","readme":"# Keep hosts up-to-date with ``docker-api``\n\n``kamaze-docker_hosts`` is based on top of [``docker-api``][docker-api].\nIt provides a CLI, through ``docker-hosts`` executable,\nto manipulate the operating system's host files. ``watch`` command will keep\n``hosts`` file updated according to ``docker`` network changes.\n\nIn the future, ``cli`` will be separated from the ``core`` library.\n\n## Configuration\n\n``cli`` uses the ``core`` config files, unless ``/etc/docker-hosts``\nconfig directory is present with expected files.\nConfig directory can also be given from the ``cli`` option\n``-c`` or ``--config``.\n\nConfig can be displayed (after __overlaying__)\nwith the ``config`` command, rendered with JSON notation.\n\n\u003c!--\nResource consumption:\n\nps -p $(pidof docker-hosts) -o %cpu,%mem,rss,vsz,cmd\nps -p $(pidof docker-hosts) -o vsz | awk '{$1=int($1/1024)\"M\";}{ print;}'\n--\u003e\n\n[docker-api]: https://github.com/swipely/docker-api\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswagdevops%2Fkamaze-docker_hosts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswagdevops%2Fkamaze-docker_hosts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswagdevops%2Fkamaze-docker_hosts/lists"}