Installing InfoPrint Manager for Linux in a container
Important: This is an example of installing InfoPrint Manager in a container, not the installation procedure itself.
- Create all the images InfoPrint Manager requires.
- Generate your
ipin_responsefile. - Create the InfoPrint Manager container. The
docker-compose.ymlandipm.dockerfilesample files are listed below. Make any changes that are needed for your configuration or create your own build files.Important: Do not start the container yet. - Copy the
/var/lib/pd,/var/pd,/var/pddir,/var/psf, and/var/psf/segmentscontents to the appropriate volumes. - Start the container and mount the volumes.
- rc.pd.servers
- rc.ippgw.daemons
- rc.lpd.daemons
- rc.mvsd.daemons
- rc.ipmws.daemons
- rc.iprsap.daemons.
These files can be found in the /etc folder.
Note: To enable the job viewer in the container, make sure you add this setting to the InfoPrint
Manager Web Administration Interface (Web GUI) configuration (
/var/pd/ipwebgui/ipm.ini): jobviewer-same-url-host=1.docker-compose.yml sample
services:
ipm-app:
container_name: ipm-app
image: ipm
privileged: true
hostname: "ipm-host"
build:
context: .
dockerfile: ipm.dockerfile
environment:
- PATH=/usr/bin:/usr/sbin:/usr/lpp/pd/bin
ports:
- "14080:14080"
- "6874:6874"
- "6875:6875"
networks:
- ipm-network
volumes:
- pd:/var/pd
- psf:/var/psf
- segments:/var/psf/segments
- pddir:/var/pddir
networks:
ipm-network:
driver: bridge
volumes:
pd:
pddir:
psf:
segments:
FROM almalinux ARG VERSION=ISO_IPM4.14.0-0 ##################### Install dependencies ######################## RUN yum install -y glibc-locale-source glibc-gconv-extra procps-ng net-tools which ##################### Install IPM-related code ######################## COPY $VERSION/. /home/install RUN chmod 755 /home/install/install.sh COPY files/ipin_response /tmp/ COPY files/license.key /tmp/ RUN /home/install/install.sh -s /home/install -a /tmp/ipin_response RUN rm -rf /home/install/* # update ipm.ini to support job viewer in a docker container RUN grep -qxF 'jobviewer-same-url-host=1' /var/pd/ipwebgui/ipm.ini || echo # 'jobviewer-same-url-host=1' >> /var/pd/ipwebgui/ipm.ini ENTRYPOINT ["/sbin/init"]