Using Containers to Avoid Installing SQL Server

  • Comments posted to this topic are about the item Using Containers to Avoid Installing SQL Server

  • 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

  • Yes, fixed

  • A possible clarification to add to the article, that the docker-compose file has two requirements that threw me for a bit:

    • It must be in the folder you're looking to use for your database files (ex: c:\sqldata\sql####\) not another location
    • It must be named "docker-compose.yml"

    Initially I thought there was a problem in the directions.

    (Also, my apologies for mugging you at Summit during the vendor reception about this)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply