X
Closing this message and/or accessing our website tells us you are happy to receive all cookies on the ClearPeople website.
However, if you would like to, you can change your cookies settings at any time.
Our Senior .NET Developer discusses how Docker is starting to formalise the Sitecore system

In the last few years, an innovative technology called Docker is gathering the attention of both, developers and system administrators. It is said that this can help to develop, deploy and manage running applications.

 

Another way to see it, may be as grease that can lubricate the three gears of Development, Deployment and Running/Management applications.


Sitecore and Docker

Sitecore recently created the following two repositories to centralise efforts that were already being undertaken separately by several community members. With this step, Docker starts to formalise a bit the Docker presence in the Sitecore ecosystem.

Docker Images

The docker images stored in the Sitecore’s “docker-images” repository aim to facilitate the creation of Sitecore containers specific for the different topologies:
XM0, XP0, XC0, XM1, XP1, XC1, …

 

More details can be found here and here.


Docker Demo

 The Sitecore’s “docker-demo” repository contains sample projects to showcase specific scenarios with specific tooling of using Docker with Sitecore. At the time of writing this text there are two sample projects that will be described in the following section.

 

Simple Sample

The Simple Sample demo showcases a very simple Visual Studio 2017 project for a Sitecore Website.

With this example you can quickly see some of the advantages of Docker in the development process.

More specifically, it showcases how to create a VS2017 project for Sitecore with the following features:

  1. Website folder as volume with files stored in the development machine, at debugging time (no need for synchronisation)
  2. Website folder embedded in the image at runtime.
  3. Website folder files, databases and Solr cores are automatically copied from the images to the Development environment (if missing) (same as databases).
  4. Attach to IIS process in the container from VS2017 for debugging

TDS Sample

The TDS Sample demo showcases how to create a VS2017 project for Sitecore with the following features:

  1. TDS sample project for Sitecore "master" database
  2. Processor example for debugging demo
  3. Website folder as volume with files stored in the development machine, at debugging time (no need for synchronisation)
  4. Website folder embedded in the image at runtime.
  5. Website folder files, databases and Solr cores are automatically copied from the images to the Development environment (if missing) (same as databases).
  6. Attach to IIS process in the container from VS2017 for debugging

 

SUGA's meetup

Check out the last SUGA meetup where we talked about how to use the two new Sitecore Docker Repositories.

 

Author bio

Benjamin Moles
Benjamin Moles
.NET Developer
I'm a passionate .NET and SQL developer. I've worked with a broad variety of technologies and I am currently contributing to the success of ClearPeople's Sitecore projects. Beside IT stuff, I love to spend time with family and play with remote-controlled helicopters.

Comments


comments powered by Disqus

Related Articles

Sign up to our Newsletter

Every now and then, we'd like to send you information that delivers, develops and promotes our products and services that are relevant to you. Submitting your details tells us that you're OK with this and you also agree to our Privacy & Cookies policy. You can, of course, opt out of these communications at any time.