Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Hosts file import #248

Open
dalemazza opened this issue Jan 26, 2025 · 0 comments
Open

Feature - Hosts file import #248

dalemazza opened this issue Jan 26, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@dalemazza
Copy link

The needs

It would be nice to feed a hosts file to the container during starting/creation that gets set in the container.

Description

Currently on engagements we have to set some hosts in the /etc/hosts file. Due to the docker enviroment, this file on the container wipes after each start/boot. This can be quite annoying which results in making a "hacky" way around used scripts.

It would be nice if i could feed it say a list like

127.0.0.1 dev01
192.168.1.1 homelab

that then gets loaded into the containers /etc/hosts

Alternatives

No response

Additional context

No response

@dalemazza dalemazza added the enhancement New feature or request label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant