adoptium / adoptium/infrastructure
Adjust docker run for StaticDocker images to use -`h`
- Dominant language
- Python
- Stars
- 96
- Forks
- 106
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 12
Description
When disagnosing container problems on a machine it can be useful to know which machine you are on. Starting the containers with `-h` as well as would make it more user friendly to system adminsitrators or others diagnosing problems. It looks like the `hostname:` field can probably be used for this: https://docs.ansible.com/ansible/latest/collections/community/docker/docker_container_module.html
Contributor guide
Research direction
Locate the StaticDocker container definitions and inspect how the Ansible docker_container configuration is assembled, starting with the hostname field documented in the linked module reference. Confirm that the resulting containers start with the requested host information and that the change helps identify the machine during diagnosis.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, docker
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100