Can not run Docker with Umbraco.Templates basic
# help-with-umbraco
c
I created a new Umbraco template and used Docker to build but it didn't work Unhandled exception. System.TimeoutException: Cannot acquire MainDom at Umbraco.Cms.Core.Runtime.MainDom.Acquire() at Umbraco.Cms.Core.Runtime.MainDom.<>c__DisplayClass12_0.b__0() at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) at System.Threading.LazyInitializer.EnsureInitialized[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) at Umbraco.Cms.Core.Runtime.MainDom.Acquire(IApplicationShutdownRegistry hostingEnvironment) at Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.AcquireMainDom() at Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken, Boolean isRestarting) at Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken) at Umbraco.Extensions.WebApplicationExtensions.BootUmbracoAsync(WebApplication app) at Program.$(String[] args) in /src/UmbracoProject3/Program.cs:line 12 at Program.(String[] args)
s
Often this is a permissions issue - https://our.umbraco.com/forum/using-umbraco-and-getting-started/113806-systemtimeoutexception-cannot-acquire-maindom We recommend when starting out with Umbraco is to follow the install guides, Docker is not officially supported and it might work but it requires extra work. https://docs.umbraco.com/umbraco-cms/fundamentals/setup/install
20 Views