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

feat: introduce reset flag and routine #65

Merged
merged 2 commits into from
Sep 21, 2023
Merged

feat: introduce reset flag and routine #65

merged 2 commits into from
Sep 21, 2023

Conversation

deviantony
Copy link
Member

@deviantony deviantony commented Sep 21, 2023

This PR adds a -reset flag that can be used when starting k2d. When this flag is enabled, k2d will clean up all the resources created by k2d and via k2d (this include any workload and data created through k2d).

It can be used via:

docker run -it \
  --name k2d \
  --volume /var/run/docker.sock:/var/run/docker.sock \
  --volume /var/lib/k2d:/var/lib/k2d \
  portainer/k2d:1.0.0-beta -reset

Closes #64

@deviantony deviantony merged commit 5de030b into develop Sep 21, 2023
1 check passed
@deviantony deviantony deleted the feat64-reset branch September 21, 2023 09:46
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

Successfully merging this pull request may close these issues.

Introduce reset mode
1 participant