Running Sitecore In A Docker Container
June 7, 2016
GeekHive has started contributing regularly to the Sitecore Blog in an effort to share our knowledge with the developer community. Our last post was by developer Steve VandenBush, Disconnected Sitecore: A Headless and Non-Traditional Approach. We love to take new and interesting ways to do things and apply them to the platforms we work with, Sitecore being one. In my latest post, I give a detailed explanation on how to Run Sitecore 8 in a Docker Container.
Docker in Enterprise Environments
If you’re unfamiliar with the concept, Dockers allow you to package an application and all of its dependencies into a standardized unit for development so that it always runs the same in an easily reproducible environment. While containers are frequently used for microservices, we wanted to see what we could make it do with an enterprise environment like Sitecore. The use case we’ve found this to be most helpful in is rapidly provisioning non-production environments, though there may be value in production as well.
One of the biggest benefits we’ve found is the dramatic reduction of time and resources used in the development process by being able to provision an entire development environment in a fraction of the time. It used to take us anywhere from a few hours (for new projects) to over a day (on inherited projects) to get a new developer working on one of our projects once things were set up on their machine. By utilizing Docker, this time is slashed down to the merest fraction – no more than the amount of time it takes to clone the repository and spin up the container.
Why should you run Sitecore in a Docker instance?
There are several solid reasons to run Sitecore in a Docker instance:
- It’s quick to stand up once the initial container is created
- It’s easy to roll out and remove as needed to meet scaling demands
- The Docker tool sets help management, migration, and monitoring
- It allows for a clean deployment process for platforms that support Docker
- Non-Sitecore developers can create a working local instance with ease
- It creates consistency in rollouts, snapshots, and production environments
As GeekHive’s Chief Technology Officer, my goal is to support developers to think outside of the box and inspire future technology leaders. Hopefully, this does!
Check out the entire blog post on Sitecore’s Technology Blog: Running Sitecore 8 in a Docker Container.
Stay up to date with our email updates!