In the Makefile we have a clean command that takes down the DB volume:
clean: db-down
NODE_VERSION=$(NODE_VERSION) docker volume rm ctrl-next_ctrl-db
the name of the db volume is outdated.
➜ ctrl git:(825-store-emails-lowercase) make clean
NODE_VERSION=22.14.0 docker compose down
[+] Running 4/4
✔ Container ctrl-admin-1 Removed 0.8s
✔ Container ctrl-db-test-1 Removed 0.1s
✔ Container ctrl-db-1 Removed 0.1s
✔ Network ctrl_default Removed 0.1s
NODE_VERSION=22.14.0 docker volume rm ctrl-next_ctrl-db
Error response from daemon: get ctrl-next_ctrl-db: no such volume
make: *** [clean] Error 1
In the
Makefilewe have a clean command that takes down the DB volume:the name of the db volume is outdated.
➜ ctrl git:(825-store-emails-lowercase) make clean NODE_VERSION=22.14.0 docker compose down [+] Running 4/4 ✔ Container ctrl-admin-1 Removed 0.8s ✔ Container ctrl-db-test-1 Removed 0.1s ✔ Container ctrl-db-1 Removed 0.1s ✔ Network ctrl_default Removed 0.1s NODE_VERSION=22.14.0 docker volume rm ctrl-next_ctrl-db Error response from daemon: get ctrl-next_ctrl-db: no such volume make: *** [clean] Error 1