Typo?
"I added this in a batch file with a CD command, which looks like the listing below. This sets me into the right folder, then it runs docker using the docker compose file above. The –d runs this detached, which closes the cmd window after this runs.
cd C:\Data\SQL2019 <====================== HERE!
docker-compose up -d
This is saved as startsql2022.cmd in my c:\utilities folder, which is in my path.
I also add a StopSQL202