docker-compose-ui icon indicating copy to clipboard operation
docker-compose-ui copied to clipboard

Destroy or Reset service(s)

Open MichaelMackus opened this issue 8 years ago • 1 comments

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.

MichaelMackus avatar Jun 21 '17 17:06 MichaelMackus

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

francescou avatar Jun 30 '17 14:06 francescou