Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to print from ignition container #51

Open
proartsrl opened this issue Mar 30, 2021 · 4 comments
Open

How to print from ignition container #51

proartsrl opened this issue Mar 30, 2021 · 4 comments

Comments

@proartsrl
Copy link

Dear Kevin.
I am grateful and impressed for your commitment and passion.
I ask you for information for your experience.

This is not an issue.

I need to print from your container (ignition 8.1.3) to a network printer and I have no idea how to do it. I have read that I could use preconfigured containers with CUPS installed but I have no idea how to reach the container from your image. I have read about installing cups-client in the container but I need your kindness and detailed instructions.

I thank you in advance.

@thirdgen88
Copy link
Owner

@proartsrl, I've not tried to print yet from a container-based Gateway.. I imagine that it will involve a simple derived image adding the required system packages for CUPS, something like:

FROM kcollins/ignition:8.1.3

USER root
RUN apt-get update && \
    apt-get install -y --no-install-recommends <packages> && \
    rm -rf /var/lib/apt/lists/* &&
USER ignition

I'll work up a test this week to see what will be needed.

@proartsrl
Copy link
Author

proartsrl commented Mar 30, 2021 via email

@thirdgen88
Copy link
Owner

@proartsrl, I haven't forgotten about you! I just didn't end up with the spare cycles last week--it is still in my queue.. Right now my plan is a CUPS Server container as a sidecar to Ignition.. That is the approach I'm going to shoot for here locally against my own little networked HP laser printer.

@proartsrl
Copy link
Author

proartsrl commented Apr 6, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants