Installing InfoPrint Manager for Linux in a container

To install InfoPrint Manager for Linux in a container:
  1. Create all the images InfoPrint Manager requires.
  2. Generate your ipin_response file.
  3. Create the InfoPrint Manager container. The docker-compose.yml and ipm.dockerfile sample 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.
  4. Copy the /var/lib/pd, /var/pd, /var/pddir, /var/psf, /var/psf/segments, and /var/RICOH/Cloud Connector contents to the appropriate volumes.
  5. Start the container and mount the volumes.
Make sure that any configuration files are specified as container configuration files. The file list includes, but is not limited to:
  • 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:

ipm.dockerfile sample
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"]