Building on the previous article, this is a step-by-step guide to deploying Sitecore using a Docker container. This is the second time we will be deploying Sitecore using a Docker container.
![](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F38QsVq1lyoT8k6AWPcFD7E%2Fa1508f8d02bd1fbe6ea87c34175918f0%2F0.jpg&w=3840&q=75)
- Please be aware that this blog post was written at the time of the Sitecore 9.3 release.
- Sitecore Docker series provides a comprehensive overview of Docker-related articles.
Building on the insights from the previous article, this article offers a comprehensive guide to deploying Sitecore using a Docker container. This is the second in a series of articles on this topic.
- Running Sitecore with Docker - Part 1
- Running Sitecore with Docker - Part 2
The images are ready for deployment in Docker, so we will begin with an introduction to deploying Sitecore with no content in it yet.
First, run the following command so that the Sitecore licence file can be specified during deployment.
PowerShell
Set-LicenseEnvironmentVariable.ps1 -Path C:\projects\docker-images\license.xml
If the file can be recognised, you can use .\windows\tests\9.3.x\ directory and run docker-compose --file . \docker-compose.xm.yml up. This yml file will start in XM (CMS Only mode).
We have created a video demonstrating the procedure in question. You can view it here.