Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no internet in features with --network=host argument #946

Open
danextt opened this issue Apr 15, 2024 · 0 comments
Open

no internet in features with --network=host argument #946

danextt opened this issue Apr 15, 2024 · 0 comments

Comments

@danextt
Copy link

danextt commented Apr 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant