We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

Docker image for aspose cells or words not working on M1 chip Mac

When running docker container on terminal using below command:

docker run   -e "LicensePublicKey=public_key" -e "LicensePrivateKey=private_key" --expose 8081 -p 8081:5000  aspose/cells-cloud:linux.23.1.0

I get following message:
Unable to find image 'aspose/cells-cloud:linux.23.1.0' locally linux.23.1.0: Pulling from aspose/cells-cloud a055bf07b5b0: Pull complete d70e1735669b: Pull complete de9a31ed2ee5: Pull complete bc8fac9d294c: Pull complete 0402e5e26433: Pull complete 149a370c2159: Pull complete cd6d89a0d1a4: Pull complete 323539f238d1: Pull complete 2d999947374b: Pull complete 64cb70f2572e: Pull complete 0511299ece14: Pull complete Digest: sha256:1233261f187a3a266942f52d64627625f56ea27922720f11167300671138521b Status: Downloaded newer image for aspose/cells-cloud:linux.23.1.0 WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Unhandled exception. System.IO.IOException: Function not implemented at System.IO.FileSystemWatcher.StartRaisingEvents() at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed() at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value) at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher() at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter) at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(String filter) at Microsoft.Extensions.Configuration.FileConfigurationProvider.<.ctor>b__1_0() at Microsoft.Extensions.Primitives.ChangeToken.ChangeTokenRegistration1…ctor(Func1 changeTokenProducer, Action1 changeTokenConsumer, TState state)
at Microsoft.Extensions.Primitives.ChangeToken.OnChange(Func1 changeTokenProducer, Action changeTokenConsumer) at Microsoft.Extensions.Configuration.FileConfigurationProvider..ctor(FileConfigurationSource source) at Microsoft.Extensions.Configuration.Json.JsonConfigurationSource.Build(IConfigurationBuilder builder) at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build() at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors) at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() at Aspose.Cells.Cloud.Web.Program.Main(String[] args) qemu: uncaught target signal 6 (Aborted) - core dumped <a class="attachment" href="/uploads/aspose_cloud/8808">image.jpg</a> (396.2 KB)

@rajatdpw

Please confirm if the above issue is still real, as in your other post, you are having issues with the running swagger UI of Aspose.Cells Cloud Docker Container.

Hi @tilal.ahmad. This issue is real and tested. The other post that you mentioned, I have tested that in my collegue’s laptop with intel chip mac.

@rajatdpw

Thanks for your feedback. We are looking into the issue and will guide you accordingly. Meanwhile, we would appreciate it if you could please share the error details of the Aspose.Words Cloud Docker Container as well.

Pls see below response when ran for aspose.words docker:

docker run   -e "LicensePublicKey=public_key" -e "LicensePrivateKey=private_key" --expose 8080 -p 8080:5000 aspose/words-cloud:latest

Response:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Unhandled exception. System.IO.IOException: Function not implemented at System.IO.FileSystemWatcher.StartRaisingEvents() at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed() at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value) at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher() at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter) at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(String filter) at Microsoft.Extensions.Configuration.FileConfigurationProvider.<.ctor>b__1_0() at Microsoft.Extensions.Primitives.ChangeToken.OnChange(Func1 changeTokenProducer, Action changeTokenConsumer)
at Microsoft.Extensions.Configuration.FileConfigurationProvider…ctor(FileConfigurationSource source)
at Microsoft.Extensions.Configuration.Json.JsonConfigurationSource.Build(IConfigurationBuilder builder)
at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
at Aspose.Words.Cloud.WebApp.Program.BuildWebHost(String[] args) in C:\Build\src\Aspose.Words.Cloud.WebApp\Program.cs:line 34
at Aspose.Words.Cloud.WebApp.Program.Main(String[] args) in C:\Build\src\Aspose.Words.Cloud.WebApp\Program.cs:line 25
qemu: uncaught target signal 6 (Aborted) - core dumped
`
image.jpg (296.1 KB)

@rajatdpw

We have opened the following new ticket(s) in our internal issue tracking system for further investigation. We will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSCLOUD-2210
Issue ID(s): CELLSCLOUD-12137

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@rajatdpw

In reference to the above issue, to run the Aspose image on M1 chap Mac, you should specify the platform option in the command line arguments --platform linux/amd64. Please check the sample command for reference. Hopefully, it will help you accomplish the task.

docker run --platform linux/amd64 -e "LicensePublicKey=public_key" -e "LicensePrivateKey=private_key" --expose 8080 -p 8080:5000 aspose/words-cloud:latest

Please also check the following Stack Overflow post for more details.