"destroy" subcommand #4

Closed
opened 2020-09-08 00:49:36 +00:00 by 3wordchant · 1 comment
Owner

Subcommand to (carefully!) delete an entire stack and all its data:

  1. Run docker stack rm $STACKNAME
  2. Run docker volume ls | grep $STACKNAME, and prompt for deletion (docker volume rm) if any are found
  3. Ditto with docker secret ls | .. / docker secret rm ..
  4. Maybe pass rm for the secrets as well?

(Reduce some foot-cannons, strap rockets to others..)

Subcommand to (carefully!) delete an entire stack and all its data: 1. Run `docker stack rm $STACKNAME` 2. Run `docker volume ls | grep $STACKNAME`, and prompt for deletion (`docker volume rm`) if any are found 3. Ditto with `docker secret ls | ..` / `docker secret rm ..` 4. Maybe `pass rm` for the secrets as well? (Reduce some foot-cannons, strap rockets to others..)
3wordchant added the
enhancement
label 2020-09-13 16:00:22 +00:00
Author
Owner

undeploy = docker stack rm
rm = remove the env file

Still pending is rm [--volumes] [--secrets] to delete those things

`undeploy` = `docker stack rm` `rm` = remove the env file Still pending is `rm [--volumes] [--secrets]` to delete those things
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/abra#4
No description provided.