Skip to content

Commit 72e5d99

Browse files
authored
wipe prunes all volumes (#210)
Before this change the `wipe` command pruned only anonymous volumes (https://docs.docker.com/engine/reference/commandline/volume_prune/). The `--all `argument was added so that the command prune also other volumes. ## Open questions Would it make sense to add labels to all `streamr-docker-dev` images? We could `--filter` so that we don't prune some volume that is not related to `streamr-docker-dev`.
1 parent 74f9c2d commit 72e5d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streamr-docker-dev/bin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ update() {
223223
wipe() {
224224
stop
225225
COMMANDS_TO_RUN+=("echo Wiping persistent data of services")
226-
COMMANDS_TO_RUN+=("docker volume prune -f")
226+
COMMANDS_TO_RUN+=("docker volume prune --all --force")
227227
}
228228

229229
factory-reset() {

0 commit comments

Comments
 (0)