If MS SQL Server is running on Windows Image and the environment variable attach_dbs is detected, then it will automatically…

How to create an MSSQL Server Base Image
Microsoft have removed support for ‘Windows’ based images of MS SQL server. Opting only to support Linux versions. Because of…

Sitecore: Reducing the size of the master DB
The size of our master database has continued to grow at an exceptional rate ever since we initially installed our…

Moving media from SQL to Blob Storage
Introduction First of all, a little bit about how sitecore stores media. A media item in sitecore (images / videos…

Remove orphaned blobs from sitecore database
This post covers one of the steps we took to reduce the size of our master database. With our media…

Sitecore Powershell: Remove all items that don't have media attachedSitecore Powershell:
This script will scan children of root (currently set too \sitecore\media library ) and return any items that do not…

Sitecore Powershell: Remove all items that are not referenced by others
This script will scan children of root (currently set too \sitecore\media library ) and return any items that are not…

Unable to add or delete personalisation rules
Today I wanted to add a quick blog post about a situation we came across today. Our content editors were…

Unit Testing: Which Framework?
So we were having a discussion in our team, over which testing frameworks people had used and which they thought…

Unit Testing in Sitecore
I have been playing around with Unit Testing in Sitecore today. In conducting my research, I came across a very…

University in a box: Docker and Kubernetes
This is a recording of a presentation I was asked to give to our IT Department. The focus of the…

Building Docker Images: Using ACR Build Command
This approach uses the Azure CLI to push your Docker file and context to the cloud. Then build it, tag…

Docker Compose: Basic Example
The docker-compose file below defines one single service called CM. It states which image to use, which PowerShell script to…

Building Docker Images: Using ACR Tasks
With this approach, we create a ACR Task (using Azure CLI), for which we pass parameters detailing: This is then…

Dockerfiles: Multi Stage Example
This Dockerfile will create a slimmed down image containing only the assets that are generated from building and publishing the…

Dockerfiles: Basic Example
A very basic example of a Dockerfile might look something like this: Line by line, it does the following: If…

Dockerfiles
A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an…

Building Docker Images: With Docker Compose Files
The docker compose file below has additional properties defined that instruct the Docker Daemon how to build an image if…