testcontainers / testcontainers/testcontainers-rs
Allow providing a network alias
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.1k
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
The argument --network-alias may be used to influence the name of container in the docker network. Otherwise the container is only available by its ID or name.
It would be useful, if you want to orchestrate a few test containers, which need to communicate with each other, to allow providing the network alias, in order to have predictable DNS names. Compared to using the ID or name (which might clash).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing where command-line arguments are parsed and where Docker container network options are assembled. Check the existing integration tests for container networking, then add coverage showing that a supplied alias provides a predictable name for communicating test containers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, rust
- Domain
- devops, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100