features icon indicating copy to clipboard operation
features copied to clipboard

no internet in features with --network=host argument

Open danextt opened this issue 2 years ago • 0 comments

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.

danextt avatar Apr 15 '24 16:04 danextt