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

fix: Devcontainer resets /etc/hosts (#11439) #11440

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

binkoni
Copy link
Contributor

@binkoni binkoni commented Jul 25, 2023

Fixes #11439

Motivation

A container created by Devcontainer keeps resetting /etc/hosts whenever I reboot or restart the container.

Modifications

.devcontainer/devcontainer.json
.devcontainer/pre-build.sh
.devcontainer/post-start.sh

Verification

To ensure this issue is fixed, I manually tested by running devcontainer commands that after I made this change.
I also tested with VsCode devcontainer extension.

@binkoni binkoni force-pushed the fix/devcontainer-etc-hosts branch from 196d864 to eb618f7 Compare July 25, 2023 07:55
Signed-off-by: Byeonggon Lee <binkoni@gonnux.com>
@binkoni binkoni force-pushed the fix/devcontainer-etc-hosts branch from eb618f7 to 85f10ab Compare July 26, 2023 11:25
Copy link

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

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

Good change! Thanks for the contribution!

@terrytangyuan terrytangyuan merged commit f8a34a3 into argoproj:master Jul 27, 2023
@agilgur5 agilgur5 added the area/build Build or GithubAction/CI issues label Oct 18, 2023
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request Mar 12, 2024
Signed-off-by: Byeonggon Lee <binkoni@gonnux.com>
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request May 6, 2024
Signed-off-by: Byeonggon Lee <binkoni@gonnux.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build or GithubAction/CI issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The container created by Devcontainer keeps resetting /etc/hosts
3 participants