Skip to content

Builds an Umbraco CMS v7.5.9 Docker image based on a Windows Container

Notifications You must be signed in to change notification settings

ryanmcdonough/umbraco-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-Umbraco

Builds an Umbraco CMS v7.6.3 Docker image based on a microsoft/aspnet Windows Container

Pre-Requisites

To use images from this repository you will need to switch Docker to using Windows Containers. If you are new to Docker or Windows Containers the Build And Run Your First Docker Windows Server Container will guide you through the process of getting setup with these pre-requisites. For Windows 10 users the Windows Containers on Windows 10 quickstart covers the same material.

Using the Docker Image

A pre-built Docker image is availble for use on the Docker Hub.

Follow these simple instructions for running the pre-built Docker image in an Administrative level PowerShell command prompt.

# Pull the image from Docker Hub
docker pull ryanmcdonough/umbraco

# Run the Umraco Docker image
docker run -d -P --name umbraco.web ryanmcdonough/umbraco

# Get the IP Address of the running umbraco.web container
#   Use this to connect to UmbracoCMS instance on HTTP port 8080
docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" umbraco.web

For convenience setting a hosts file entry for umbraco.web to map to the IP Address of the running container.

Use using regular Docker commands for stopping and restarting the container.

Building the Umbraco Image

# Clean out any previous containers and images
.\clean.ps1

# Build and run a named container - umbraco.web
.\run.ps1

You should now be able to connect to your running Umbraco CMS instance.

As part of the build process an entry for umbraco.web was added to the C:\Windows\System32\drivers\etc\hosts file. The IP address mapped to umbraco.web was extracted from the running Umbraco container.

Your Umbraco CMS Docker container can be browsed on http://umbraco.web:8080

Contributing to the Project

Take a look at our Developer notes and then dive right in.

About

Builds an Umbraco CMS v7.5.9 Docker image based on a Windows Container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%