简体   繁体   English

linux容器中的ABCPdf

[英]ABCPdf in linux container

I want to deploy a pdf generator that is dependent on ABCpdf (.net core) on a Linux container.我想在 Linux 容器上部署一个依赖于 ABCpdf (.net core) 的 pdf 生成器。 the docker image file will build successfully but when we run the container I have the following exception docker 映像文件将成功构建,但是当我们运行容器时,出现以下异常

在此处输入图片说明

any idea how we can solve this issue?知道我们如何解决这个问题吗?

The abcpdf documentation states : abcpdf 文档指出

There are variants of ABCpdf for both .NET Core and .NET Standard. .NET Core 和 .NET Standard 都有 ABCpdf 的变体。

These variants are currently for Windows only and there are a few features which are disabled because they are not supported by the .NET Core runtime.这些变体目前仅适用于 Windows,并且有一些功能被禁用,因为 .NET Core 运行时不支持它们。

Therefore you could run it in a Windows container but not a Linux one.因此,您可以在 Windows 容器中运行它,但不能在 Linux 容器中运行它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM