You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running docker-compose up, I get the following error
eventstore.db_1 | [ 1, 1,17:38:58.368,FTL] Host terminated unexpectedly.
eventstore.db_1 | System.IO.IOException: Function not implemented
eventstore.db_1 | at System.IO.FileSystemWatcher.StartRaisingEvents()
eventstore.db_1 | at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
eventstore.db_1 | at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value)
eventstore.db_1 | at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher()
eventstore.db_1 | at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter)
eventstore.db_1 | at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(String filter)
eventstore.db_1 | at Microsoft.Extensions.Configuration.FileConfigurationProvider.<.ctor>b__1_0()
eventstore.db_1 | at Microsoft.Extensions.Primitives.ChangeToken.ChangeTokenRegistration`1..ctor(Func`1 changeTokenProducer, Action`1 changeTokenConsumer, TState state)
eventstore.db_1 | at Microsoft.Extensions.Primitives.ChangeToken.OnChange(Func`1 changeTokenProducer, Action changeTokenConsumer)
eventstore.db_1 | at Microsoft.Extensions.Configuration.FileConfigurationProvider..ctor(FileConfigurationSource source)
eventstore.db_1 | at Microsoft.Extensions.Configuration.Json.JsonConfigurationSource.Build(IConfigurationBuilder builder)
eventstore.db_1 | at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
eventstore.db_1 | at EventStore.Common.Log.EventStoreLoggerConfiguration.Initialize(String logsDirectory, String componentName, String logConfig) in /build/src/EventStore.Common/Log/EventStoreLoggerConfiguration.cs:line 58
eventstore.db_1 | at EventStore.Core.EventStoreHostedService`1.Init(TOptions options) in /build/src/EventStore.Core/EventStoreHostedService.cs:line 89
eventstore.db_1 | at EventStore.ClusterNode.ClusterVNodeHostedService.Init(ClusterNodeOptions options) in /build/src/EventStore.ClusterNode/ClusterVNodeHostedService.cs:line 44
eventstore.db_1 | at EventStore.Core.EventStoreHostedService`1..ctor(String[] args) in /build/src/EventStore.Core/EventStoreHostedService.cs:line 45
eventstore.db_1 | at EventStore.ClusterNode.ClusterVNodeHostedService..ctor(String[] args) in /build/src/EventStore.ClusterNode/ClusterVNodeHostedService.cs:line 35
eventstore.db_1 | at EventStore.ClusterNode.Program.Main(String[] args) in /build/src/EventStore.ClusterNode/Program.cs:line 22
src_eventstore.db_1 exited with code 1
Normally, I would say that the image is messed up, but this compose file works on any other machine, except for the new Macbook Air. I tried restarting docker etc, but no luck.
I also find it interesting, because at this point, the docker image is running, and should therefore be disconnected from my host arch. But, I'm not going to pretend I understand the inner workings of Docker at this point.
Any ideas on a quick fix, or is this a bug due to the new chip?
EDIT:
A one-liner for testing is here: docker run --name esdb-node -it -p 2113:2113 -p 1113:1113 \ eventstore/eventstore:latest --insecure --run-projections=All
The text was updated successfully, but these errors were encountered:
@JacobT14 thanks for the one-liner repro -- I confirm that it reproduces for me locally too.
When running x86/amd64 code in a container on M1 the binaries are emulated with qemu. The emulation is not perfect and it can go wrong -- I believe this is one of those times.
The ideal solution in terms of reliability and performance would be to have a native arm64 image. I notice this was requested before: EventStore/EventStore#2380 . Perhaps now that the new Apple hardware is so popular it's worth commenting on that issue to bring this topic up again.
I'm sorry I couldn't help more directly. Let me know if you encounter any other issues on M1.
Hey all! I have the following docker-compose.yml file
After running docker-compose up, I get the following error
Normally, I would say that the image is messed up, but this compose file works on any other machine, except for the new Macbook Air. I tried restarting docker etc, but no luck.
I also find it interesting, because at this point, the docker image is running, and should therefore be disconnected from my host arch. But, I'm not going to pretend I understand the inner workings of Docker at this point.
Any ideas on a quick fix, or is this a bug due to the new chip?
EDIT:
A one-liner for testing is here:
docker run --name esdb-node -it -p 2113:2113 -p 1113:1113 \ eventstore/eventstore:latest --insecure --run-projections=All
The text was updated successfully, but these errors were encountered: