devcontainers / devcontainers/features
no internet in features with --network=host argument
Open
- Dominant language
- Shell
- Stars
- 1.5k
- Forks
- 621
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 4
Description
When starting devcontainers with "runArgs": ["--network=host"] the script used in local "features": { "./gdbinit":{} } has no internet connection / can't download any external scripts.
When using a proxy the features are able to download external items.
It seems to me that the features are startet in a stage where the container is not ready yet.
Starting the same script with "postStartCommand": "chmod +x .devcontainer/gdbinit/install.sh; .devcontainer/gdbinit/install.sh"
works without any error.
Contributor guide
Assessment
This issue has not been assessed yet.