Skip to content
New issue

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

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

Already on GitHub? # to your account

Prevent Kurtosis container pollution #6441

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

michaelsproul
Copy link
Member

Issue Addressed

After using the kurtosis testnet scripts I was left with autostarting Docker containers for traefik and timberio/vector. Given that traefik can open tunnels and expose ports to the internet I would prefer that it doesn't randomly auto start on my machine.

Proposed Changes

Add kurtosis engine stop to stop_local_testnet.sh so that all Kurtosis-related containers are stopped when the script ends.

This may be a bit aggressive, as some users may want to run multiple testnets in parallel. I'm open to stopping the engine by default and having a flag to avoid stopping it, if that would be useful?

Additional Info

Discussion on Kurtosis discord: https://discord.com/channels/783719264308953108/1131048810861314169/1289051346947018846

@michaelsproul michaelsproul added test improvement Improve tests ready-for-review The code is ready for review labels Sep 27, 2024
Copy link
Member

@jimmygchen jimmygchen left a comment

Choose a reason for hiding this comment

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

LGTM!

@jimmygchen jimmygchen added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Sep 29, 2024
@AgeManning
Copy link
Member

Oh yeah i noticed this too and I was nuking the docker containers.

@AgeManning
Copy link
Member

@Merigfyio queue

@michaelsproul
Copy link
Member Author

@mergify queue

Copy link

mergify bot commented Oct 1, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at dd08ebb

mergify bot added a commit that referenced this pull request Oct 1, 2024
@mergify mergify bot merged commit dd08ebb into sigp:unstable Oct 1, 2024
28 checks passed
@michaelsproul michaelsproul deleted the stop-kurtosis branch October 17, 2024 04:36
chong-he pushed a commit to chong-he/lighthouse that referenced this pull request Nov 26, 2024
* Prevent Kurtosis container pollution
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
ready-for-merge This PR is ready to merge. test improvement Improve tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants