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

[DOCS] docker_container.running hostname is not set from name #66409

Open
mitar opened this issue Apr 21, 2024 · 0 comments
Open

[DOCS] docker_container.running hostname is not set from name #66409

mitar opened this issue Apr 21, 2024 · 0 comments
Labels
Documentation Relates to Salt documentation needs-triage

Comments

@mitar
Copy link
Contributor

mitar commented Apr 21, 2024

Description

Documentation for docker_container.running states:

Hostname of the container. If not provided, the value passed as the container'sname will be used for the hostname.

Suggested Fix

Remove the second sentence. It is not relevant anymore since #41800

Alternatively, code could be changed so that hostname is set to name when network_mode is not set to host.

Location or format of documentation

https://docs.saltproject.io/en/latest/ref/states/all/salt.states.docker_container.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Relates to Salt documentation needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant