September 6, 2024 at 12:00 am
Comments posted to this topic are about the item Using Containers to Avoid Installing SQL Server
September 6, 2024 at 9:11 pm
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
September 6, 2024 at 9:53 pm
Yes, fixed
November 21, 2025 at 2:11 am
A possible clarification to add to the article, that the docker-compose file has two requirements that threw me for a bit:
Initially I thought there was a problem in the directions.
(Also, my apologies for mugging you at Summit during the vendor reception about this)
November 21, 2025 at 2:02 pm
there's an option to call the compose for a specific filename with the -f parameter: otherwise it assumes the current folder and specific filename
docker compose -f "G:\My Drive\_Data\Docker\DockerCompose\SQL2022.yaml" up -d
Lowell
November 24, 2025 at 9:32 pm
I didn't call those out, but I'll edit the post to note the file needs to be in the same folder. I wrote later about using a specific file name.
And good to see you at PASS. Sorry we didn't chat more. It was slightly crazy for me.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply