Docker Compose beats the Docker Desktop dashboard for anything you need to repeat.
Containers are meant to provide component isolation in a modern software stack. Put your database in one container, your web application in another, and they can all be scaled, managed, restarted, and ...