Specialized SQL Server images added to the Sitecore Docker image repository

Just updated the sitecoreops/sitecore-images repository with specialized SQL Server images for each Sitecore 9 version (see the Automatically build and update Sitecore base Docker images post for details on how to set it up).

The new images is based on the official Microsoft SQL Server 2016 SP1 Developer Edition image but it have as few additional features:

  1. Automatically adds all Sitecore databases to the volume mount C:\data when starting up, if no databases was found.
  2. Automatically attaches all databases in the volume mount C:\data.

Since the volume mount is specified in the image, the databases will always be persisted on your host machine, either in the default Docker volume location or another location of your choosing!

With this you can now start a fresh Sitecore instance with only this compose file and nothing else:

version: '2.1'


    image: your-org-or-username/sitecore:9.0.171219-sql
      - .\data:C:\Data

    image: your-org-or-username/sitecore:9.0.171219-xm1-cm
      - sql