Skip to content

fix: just db-down leaks the containers' data volumes #914

Closed

Description

@EVWorth

just db-down runs docker rm -f without -v, so every db-down or db-reset leaves each container's anonymous /var/lib/mysql volume behind. On a small disk, such as a cloud session's, they add up.

Reproduce

just db-reset
docker volume ls -qf dangling=true | wc -l   # grows by 2 per reset

Fix

Use docker rm -fv mas-mysql-8 mas-mariadb-11. The CLAUDE.md cloud-session note says Docker state is lost on a restart; in practice /var/lib/docker survives and only dockerd needs starting. Update that line while you're there.

Activity

  1. added
    bug
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions