Docker images for Sitecore 9, a XM1 CM and a SQL Server. The Sitecore Install Framework (SIF) is used to install Sitecore inside the CM image following the official installation guidance. Windows 10 1709 (Fall Creators Update) is used since it has support for the new smaller windowsservercore versions (7GB vs 13GB).
- Download Packages for XM Scaled and copy into .\xm1\cm\install.
- Copy your license.xml into .\xm1\cm\install.
- Open Sitecore 9.0.0 rev. 171002 (WDP XM1 packages).zip and inside, open Sitecore 9.0.0 rev. 171002 (OnPrem)_cm.scwdp.zip and copy the following files into .\xm1\sql\install:
- Sitecore.Core.dacpac
- Sitecore.Master.dadcpac
- Sitecore.Web.dacpac
- Sitecore.ExperienceForms.dacpac
- Build with:
docker-compose build
(takes a while).
- Start:
docker-compose up
- Get IP:
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' sitecoreninedocker_cm_1
and open with browser.
If you need persistence you can manually build the Sitecore image specifying an external SQL server:
docker image build --build-arg SQL_SERVER=XXX --build-arg SQL_USER=XXX --build-arg SQL_PASSWORD=XXX --build-arg SQL_DB_PREFIX=XXX ./sitecore-xm1
Or you can roll your own Dockerfile using this as a base and add your own ConnectionStrings.config.