Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daschr/container_hosts
Add entries to the hosts-file for each container.
https://github.com/daschr/container_hosts
dns docker hosts hostsfile
Last synced: 8 days ago
JSON representation
Add entries to the hosts-file for each container.
- Host: GitHub
- URL: https://github.com/daschr/container_hosts
- Owner: daschr
- License: mit
- Created: 2023-09-13T09:33:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T19:14:39.000Z (4 months ago)
- Last Synced: 2024-10-20T05:20:48.163Z (4 months ago)
- Topics: dns, docker, hosts, hostsfile
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# container_hosts
Add entries to the hosts-file for each container.## Building
* `cargo b --release`## Installing
* `cp ./target/release/container_hosts /usr/local/bin/`
* `cp container_hosts.service /etc/systemd/system/`
* `systemctl daemon-reload && systemctl enable container_hosts`