-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running from docker throws exception #39
Comments
Sorry for the late respone but I never tested this project in a docker container. ChromeHtmlToPdf should run on Linux so it should be possible to run it in a docker container. |
It run in docker good.
You may need to set google chrome args in your code: using (var converter = new Converter())
{
converter.AddChromeArgument("--no-sandbox");
converter.ConvertToPdf(new ConvertUri(url), @".\Output\output.pdf", new PageSettings());
} |
Thanks for adding this |
Hello, can you provide full dockerfile for building the application? |
@mertulusan Here can see the docker demo ChromeHtmlToPdf-netcoreapp2.2-docker |
Thanks very much |
Hi,
I have a .net core project that is using ChromeHtmlToPdf. It works fine locally on windows. But it throws "no process is associated with this object" exception when running from docker container (which is linux based image).
The code is below:
Does the project support docker?
The text was updated successfully, but these errors were encountered: