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

✨ add hostname #157

Open
lvenier opened this issue Nov 15, 2024 · 0 comments
Open

✨ add hostname #157

lvenier opened this issue Nov 15, 2024 · 0 comments

Comments

@lvenier
Copy link
Contributor

lvenier commented Nov 15, 2024

Agent version Docker API Version
1.X 1.43

In the docker api it is possible to add hostname to populate the host file :

ExtraHosts	
Array of strings
A list of hostnames/IP mappings to add to the container's /etc/hosts file. Specified in the form ["hostname:IP"].

It would be good to allow that configuration when we edit a container.
I suggest to have an extra field extra_host in the json with the following format :
extra_host: ["hostname1:IP1","hostname2:IP2",....] defaulted as []

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant