#Can you run Umbraco 8 in a Docker container?

1 messages · Page 1 of 1 (latest)

ionic vessel
#

As topic says, I wonder if this is possible somehow, or if .NET 4.8 requirements prevents this.

burnt orchid
#

It's possible, but you'll need to mount the umbraco filesystem stuff as Umbraco needs it

ionic vessel
#

I guess you're also limited to only running on windows architecture as the docker system host?

foggy trench
#

From v9 and up it runs great in a docker

copper cloud
#

I have done this previously - on v7 I think - but it was a right royal pain.

iron summit
#

Is it not just the same as running v10+ in a docker container? https://skrift.io/issues/umbraco-and-docker-part-1-getting-familiar-with-containers/

copper cloud
#

Here are some of the things I had to do then:

  • Change config files to allow environment based overrides using Microsoft.Configuration.ConfigurationBuilders.EnvironmentConfigBuilder
  • (Lots of tweaking as config builders only work in certain areas and certain ways)
  • Change various IIS settings in the dockerfile, including folder file permissions, 32bit mode, loaduserProfile, idleTimeout, installing UrlRewrite
  • Tweaks to get the virtual file system working with S3 bucket from INSIDE the container

There was lots of other stuff too, but I think that was mostly hosting related because the project was running on a custom private cloud based of OpenStack.

#

It IS possible - and we had it running successfully for multiple years.