An idempotent command-line utility for managing your /etc/hosts file.
951
docker run --rm -it \
-v /etc/hosts:/etc/hosts \
--name hostess \
jnvinet/hostess "$@"
An idempotent command-line utility for managing your /etc/hosts file.
hostess add local.example.com 127.0.0.1
hostess add staging.example.com 10.0.2.16
Why? Because you edit /etc/hosts for development, testing, and debugging. Because sometimes DNS doesn't work in production. And because editing /etc/hosts by hand is a pain. Put hostess in your Makefile or deploy scripts and call it a day.
Content type
Image
Digest
Size
316.2 MB
Last updated
over 6 years ago
docker pull jnvinet/hostess