Cloud-RF / tak-server

TAK Server docker setup
GNU General Public License v3.0
171 stars 59 forks source link

Don't run `prune` all volumes on cleanup script #7

Closed AlexWinder closed 2 years ago

AlexWinder commented 2 years ago

The cleanup.sh script has a line which runs docker system prune --volmes

https://github.com/Cloud-RF/tak-server/blob/2d9c769781d98899a0174099afd12677c5975b8f/scripts/cleanup.sh#L4

This will remove all volumes on the system, including those which aren't part of the tak-server environment.

A better way would be use something like docker volume rm --force db_data.