Can you run Umbraco 8 in a Docker container?
# help-with-umbraco
t
As topic says, I wonder if this is possible somehow, or if .NET 4.8 requirements prevents this.
s
It's possible, but you'll need to mount the umbraco filesystem stuff as Umbraco needs it
t
I guess you're also limited to only running on windows architecture as the docker system host?
a
Ye you are, and thats usually much slowrr
From v9 and up it runs great in a docker
a
I have done this previously - on v7 I think - but it was a right royal pain.
m
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/
a
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.
The tooling is MUCH better now - so it might not be such of a headache
7 Views