Podman - Child process wait error: 10

We are using the Apryse PDFNet SDK with one of the extension modules in a Kubernetes cluster. In the production environment, the SDK and module are working fine, but in our testing environment, which uses Podman, the SDK throws the exception “Child process wait error: 10.”

  • Root cause: Podman handles process reaping differently than Docker. Without an init process, the parent process cannot properly wait for the Chromium child process.

  • Solution: Add the --init flag to provide an init process (tini) for proper process management:

    • Ex: podman run --init --shm-size=2gb -p 5002:5002