Forum How do I...?

PrinceXML from docker-compose

MiroMichail
Can you add example of using PrinceXML in docker compose with golang? Can't find better way how to use it.
mikeday
We have an example here showing how you can run Prince from Docker:

https://github.com/yeslogic/docker-prince

We have wrappers for calling Prince from Java, C#, and PHP, but not golang, however you could do something very similar using exec:

https://golang.org/pkg/os/exec/

I'm not sure about the need for Docker Compose, what was your use case?