bug: Error while starting HttPlaceholder Docker image on Mac with M1 chip
dukeofharen opened this issue · 0 comments
dukeofharen commented
Bug Report
HttPlaceholder version:
Latest (2022.9.3.59)
Current behavior:
I get the following error while running the Docker container:
Pulling httplaceholder (dukeofharen/httplaceholder:2022.9.3.59)...
2022.9.3.59: Pulling from dukeofharen/httplaceholder
7a6db449b51b: Pull complete
d4619031a515: Pull complete
6d618327faac: Pull complete
827cc4f3826a: Pull complete
fe3af87d6dfc: Pull complete
37b0215045c5: Pull complete
ed554f9086e1: Pull complete
6714f28da992: Pull complete
797d711a8958: Pull complete
a86ab5fd1487: Pull complete
Digest: sha256:0ba7af7604852bea2d197fa4b2950b4b98db2ae3d16f811e2ffa593d43e77cc5
Status: Downloaded newer image for dukeofharen/httplaceholder:2022.9.3.59
Creating httplaceholder_httplaceholder_1 ... done
Attaching to httplaceholder_httplaceholder_1
httplaceholder_1 | HttPlaceholder 2022.9.3.59 - (c) 2022 Ducode
httplaceholder_1 | Run this application with argument '-h' or '--help' to get more info about the command line arguments.
httplaceholder_1 | When running in to trouble, or just see what's going on, run this application with argument '-V' or '--verbose' to print the configuration variables.
httplaceholder_1 | You can also set the "verbose" environment variable (without quotes) to "true" to enable verbose logging.
httplaceholder_1 | 2022-09-23 09:58:28.861 +00:00 [FTL] Host terminated unexpectedly
httplaceholder_1 | System.IO.IOException: Function not implemented
httplaceholder_1 | at System.IO.FileSystemWatcher.StartRaisingEvents()
httplaceholder_1 | at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
httplaceholder_1 | at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value)
httplaceholder_1 | at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher()
httplaceholder_1 | at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter)
httplaceholder_1 | at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(String filter)
httplaceholder_1 | at Microsoft.Extensions.Configuration.FileConfigurationProvider.<.ctor>b__1_0()
httplaceholder_1 | at Microsoft.Extensions.Primitives.ChangeToken.OnChange(Func`1 changeTokenProducer, Action changeTokenConsumer)
httplaceholder_1 | at Microsoft.Extensions.Configuration.FileConfigurationProvider..ctor(FileConfigurationSource source)
httplaceholder_1 | at Microsoft.Extensions.Configuration.Json.JsonConfigurationSource.Build(IConfigurationBuilder builder)
httplaceholder_1 | at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
httplaceholder_1 | at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
httplaceholder_1 | at Microsoft.Extensions.Hosting.HostBuilder.Build()
httplaceholder_1 | at HttPlaceholder.Utilities.ProgramUtilities.BuildWebHost(String[] args) in /app/src/HttPlaceholder/Utilities/ProgramUtilities.cs:line 79
httplaceholder_1 | at HttPlaceholder.Program.Main(String[] args) in /app/src/HttPlaceholder/Program.cs:line 20
Expected behavior:
It should work
Steps to reproduce: