<#18994 Support for `docker run` arguments in `doc...
# github-notifications
c
#18994 Support for `docker run` arguments in `docker_environment` Issue created by generalov Is your feature request related to a problem? Please describe. I'd like to specify additional
docker run
arguments for a
docker_environment
. Describe the solution you'd like
Copy code
docker_environment(
  ...,
  docker_run_args = ["--add-host <http://pypi.myorg.com:10.0.1.11%22|pypi.myorg.com:10.0.1.11">]
)
Describe alternatives you've considered Alternatively,
docker_environment
could inherit the
docker run
arguments from
[docker].run_args
in
pants.toml
. Additional context Probably, there should be another tool for spawning complex environments like
docker compose
or devcontainers. pantsbuild/pants