Docker Community Forums

Share and learn in the Docker community.

Unoconv call (openoffice) from other container

I am new in linux and docker. I need to convert odt files to pdf from php container. I use php-5.6-apache and

sudo docker build --pull
-t xiaojun207/openoffice4-daemon
–build-arg OO_VERSION=4.1.7 .

sudo docker run -d --restart unless-stopped
-u 123456
–name soffice
–net my-network
-p 8100:8100
-v /data/output-odt:/pdfs/:rw

sample of openoffice4-daemon works well from host:

sudo docker run
-v /var/output-odt:/pdfs:rw
–net my-network
unoconv --connection ‘socket,host=,port=8100,tcpNoDelay=1;urp;StarOffice.ComponentContext’
-f pdf /pdfs/test.odt

But I need to execute it from my php container. docker run is not possible from other container. How can I do it? Thanks