Sign inSign up

jnvinet/hostess

By jnvinet

•Updated over 6 years ago

An idempotent command-line utility for managing your /etc/hosts file.

Image
0

951

jnvinet/hostess repository overview

Docker Cloud Build Status Docker Automated build Docker Pulls GitHub last commit

⁠Running command

docker run --rm -it \
    -v /etc/hosts:/etc/hosts \
    --name hostess \
    jnvinet/hostess "$@"

⁠About Hostess

⁠What is 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.

⁠Original source code

https://github.com/cbednarski/hostess⁠

Tag summary

Content type

Image

Digest

Size

316.2 MB

Last updated

over 6 years ago

docker pull jnvinet/hostess