Installing InfoPrint Manager for Linux in a Docker container

To install InfoPrint Manager for Linux in a Docker container:
  1. Create all the images InfoPrint Manager requires.
  2. Generate your ipin_response file.
  3. Create the InfoPrint Manager Docker 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 Docker 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 Docker 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=4.13.0-0

##################### Install dependencies ########################
COPY ${VERSION}/Packages/ipr-base-prereqs-${VERSION}.x86_64.rpm /home/install/
RUN yum localinstall -y /home/install/ipr-base-prereqs-${VERSION}.x86_64.rpm

##################### Install net-tools ########################
RUN yum install -y net-tools

##################### Install RPD-related code ########################
COPY $VERSION/. /home/install
RUN chmod 755 /home/install/remote_install
RUN mkdir /var/pd
RUN mkdir /var/psf
RUN mkdir /var/psf/segments

COPY response_file/ipin_response /tmp/

RUN /home/install/remote_install -s /home/install -a /tmp/ipin_response

# 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"]