二月 21, 2019
The Sitecore 9 Experience Management (XM) images have been around for a while and they are pretty stable and fit for production use, currently used on at least two customer solutions.
Until now I haven't been involved in any projects that had the need for the full blown XP on Docker, but that is about to change. So in preparation for this I have released images for Sitecore 9.1 and 9.0.2 XP out on https://github.com/sitecoreops/sitecore-images.
Sitecore 9.1 XP is both for 1803 and ltsc2019 since it's the first Sitecore version that officially supports Windows Server 2019, see the Sitecore compatibility table. UPDATE: I was either dreaming or it was removed again, but now it seem that Windows Server 2019 is not supported yet. That said I have not seen any issues on the images and only the issue below on the host OS.
Please be aware of this issue if you plan on running Sitecore 9.1 on ltsc2019 in a hybrid Docker swarm cluster. Thankfully a Windows update should be available soon.
Sitecore 9.0.2 XP is only for 1803 (for now, ltsc2019 could be made if there is a need. There are working XM images on ltsc2019).
This is the images for 9.1 on ltsc2019:
REPOSITORY TAG SIZE
sitecore-xp-xconnect 9.1.001564-windowsservercore-ltsc2019 4.9GB
sitecore-xp-xconnect-indexworker 9.1.001564-windowsservercore-ltsc2019 4.78GB
sitecore-xp-xconnect-automationengine 9.1.001564-windowsservercore-ltsc2019 4.77GB
sitecore-xp-standalone 9.1.001564-windowsservercore-ltsc2019 5.48GB
sitecore-xp-cd 9.1.001564-windowsservercore-ltsc2019 5.48GB
sitecore-xp-sqldev 9.1.001564-windowsservercore-ltsc2019 7.04GB
sitecore-xp-solr 9.1.001564-nanoserver-1809 695MB
... and here for 1803:
REPOSITORY TAG SIZE
sitecore-xp-xconnect 9.1.001564-windowsservercore-1803 5.81GB
sitecore-xp-xconnect-indexworker 9.1.001564-windowsservercore-1803 5.68GB
sitecore-xp-xconnect-automationengine 9.1.001564-windowsservercore-1803 5.68GB
sitecore-xp-standalone 9.1.001564-windowsservercore-1803 6.39GB
sitecore-xp-cd 9.1.001564-windowsservercore-1803 6.39GB
sitecore-xp-sqldev 9.1.001564-windowsservercore-1803 7.74GB
sitecore-xp-solr 9.1.001564-nanoserver-1803 749MB
Try it out
- Clone https://github.com/sitecoreops/sitecore-images.
- Build the images, see the instructions.
- Create the folder structure under
.\data
for the volume mounts, see example. - If you built the images on another machine you need to prefix the images with your repository name else you can leave it as is.
- Start with:
docker-compose up -d
You now have a fully functional Sitecore 9.1 XP running :)
version: '2.4'
services:
sql:
image: sitecore-xp-sqldev:9.1.001564-windowsservercore-ltsc2019
volumes:
- .\data\sql:C:\Data
mem_limit: 2GB
isolation: process
ports:
- "44010:1433"
solr:
image: sitecore-xp-solr:9.1.001564-nanoserver-1809
volumes:
- .\data\solr:C:\Data
mem_limit: 1GB
isolation: process
ports:
- "44011:8983"
xconnect:
image: sitecore-xp-xconnect:9.1.001564-windowsservercore-ltsc2019
volumes:
- .\data\xconnect:C:\inetpub\xconnect\App_Data\logs
mem_limit: 1GB
isolation: process
links:
- sql
- solr
xconnect-automationengine:
image: sitecore-xp-xconnect-automationengine:9.1.001564-windowsservercore-ltsc2019
volumes:
- .\data\xconnect-automationengine:C:\AutomationEngine\App_Data\logs
mem_limit: 500MB
isolation: process
links:
- sql
- xconnect
xconnect-indexworker:
image: sitecore-xp-xconnect-indexworker:9.1.001564-windowsservercore-ltsc2019
volumes:
- .\data\xconnect-indexworker:C:\IndexWorker\App_Data\logs
mem_limit: 500MB
isolation: process
links:
- sql
- solr
cd:
image: sitecore-xp-cd:9.1.001564-windowsservercore-ltsc2019
volumes:
- .\data\cd:C:\inetpub\sc\App_Data\logs
isolation: process
ports:
- "44002:80"
links:
- sql
- solr
- xconnect
cm:
image: sitecore-xp-standalone:9.1.001564-windowsservercore-ltsc2019
volumes:
- .\data\cm:C:\inetpub\sc\App_Data\logs
isolation: process
ports:
- "44001:80"
links:
- sql
- solr
- xconnect