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

Update devcontainer.json #52445

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

kushagravats
Copy link

This update includes the addition of "runArgs" to specify Docker run arguments. Specifically, it allows the Node.js process inside the container to bind to port numbers below 1024 without requiring root permissions. This should resolve the issue with "Reopen in Container" in VS Code. Adjustments can be made based on the specific requirements.

}
},
"runArgs": [
// Allow node process to bind to port numbers below 1024 without root permissions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Allow node process to bind to port numbers below 1024 without root permissions

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, I think JS comments are not valid JSON syntax.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VSCode uses jsonc for its config files, so comments are not invalid in this case.

They also state this feature explicitly in the devcontainer.json spec.

@RedYetiDev RedYetiDev added the stalled Issues and PRs that are stalled. label May 6, 2024
Copy link
Contributor

github-actions bot commented May 6, 2024

This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open.

@RedYetiDev
Copy link
Member

Adding stalled, as the comment was never addressed.

@RedYetiDev RedYetiDev added review wanted PRs that need reviews. and removed stalled Issues and PRs that are stalled. labels May 6, 2024
Copy link
Member

@RedYetiDev RedYetiDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip

My changes are only suggestions, and are not blocking

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the changes in this file relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review wanted PRs that need reviews.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants