Getting started with containers – installing Docker

Deploying Docker Containers on Arm Hardware Just Got Easier | Data Center  Knowledge

Sitecore is making a massive push to get new versions of Sitecore easily usable with containers. Knowing this, it’s time to dig in and learn this technology. I’ll be walking through my learning approach and discussing this journey along the way.

Where to begin?

I started out by going to the official Sitecore documentation for container support. https://doc.sitecore.com/en/developers/101/developer-tools/containers-in-sitecore-development.html

This is a very well put together overview and I highly recommend starting here if you are new to containers. I am following their guide right now to get an understanding of how this works.

Next step: Install Docker

After downloading and running the exe, we get prompted:

And Docker begins unpacking files.

When it’s done, you’ll need to close and restart.

After I restarted, I got this error,

Canceling out of both of these resulted in the docker engine failed to start. I know what I did wrong, I left the “Install required components for WSL 2” checked. We don’t need that. After struggling with this for half hour or so, I uninstalled Docker and re-installed it. There is a restore to factory settings option, but that is based on what you selected in the beginning. I could have fixed this by installing WSL 2 completely, but didn’t want to. So let’s try this again.

Installation succeeded but Docker still won’t start.

So, I decided to update windows. Went to windows update, went through a couple of rounds of updates until there were no more to process and then started up Docker. This time it worked.

That’s enough for this post. We’ll work on actually using Docker in the next one.

About Phil Paris

Hi, my name is Phil Paris and I’m a Sitecore Architect and general Sitecore enthusiast. I’ve been working with Sitecore since 2013. Through this blog I will be sharing Sitecore insights, tips and tricks, best practices and general knowledge with the hopes to further the community at large. Please feel free to reach out to me at any time!

View all posts by Phil Paris →