Local support for hostname and mac address overrides
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Describe the bug
Right now is not possible to override a container's "hostname" or "mac-address" using WithContainerRuntimeArgs, they seem to be ignored, probably by design.
### Expected Behavior
There's some use cases (especially when running locally) where overriding hostname and/or mac address might be useful or needed to run the underlying container, in such cases it would be great to have a way to specify those values without them being ignored.
### Steps To Reproduce
```
builder.AddDockerfile("name", "context_path", "Dockerfile_path")
.WithContainerRuntimeArgs("--hostname", "YOUR_HOSTNAME", "--mac-address", "YOUR_MAC_ADDRESS")
```
### Exceptions (if any)
_No response_
### .NET Version info
_No response_
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.