Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Destroy or Reset service(s) #84

Open
MichaelMackus opened this issue Jun 21, 2017 · 1 comment
Open

Destroy or Reset service(s) #84

MichaelMackus opened this issue Jun 21, 2017 · 1 comment

Comments

@MichaelMackus
Copy link
Contributor

I think it would be useful to have a button to effectively "destroy" and/or "reset" a set of service(s). This could be done fairly easily by implementing an API endpoint for docker-compose down -v. Essentially, what this would do is bring the container(s) and volume(s) back to the original committed state (for example, to reset a corrupt database, or to recover admin capabilities when somebody has lost a password).

Of course we need some clear prompts & warnings for this button, since it would effectively remove data.

If there is some interest in this issue I could look into creating a PR for this, time permitting.

@francescou
Copy link
Owner

sure, it would be really useful.
I think you could simply add this feature to the current docker-compose down implementation

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

No branches or pull requests

3 participants