Running CUPS daemon in podman with its web interface
Hello, We use podman containers to test our application server (...) for new service packs of the SuSE Linux. One of the used and to be tested servers is also the CUPS daemon and its web interface. The container is started as: podman run -d -p 2022:22 -p 2631:631 sles15-sp6-v72 i.e. the host port 2631 gets forwarded to the container port 631 where the CUPS daemon is in LISTEN and willing to talk HTTP. The to be used URL is http://srap57dxr1.dev.xxxxx.xxxxx:2631/ The page comes fine in the browser, also the next page for "Administration" http://srap57dxr1.dev.xxxxx.xxxxx:2631/admin But there a click on the button "Add printer" does some redirect to reload the page as: writes "Upgrade Required" in the browser which then trys to load the internal IP and internal port 631: https://10.0.2.100:631/admin/ which ofc is not accessible. How this could be solved? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland.
I solved the problem with using SSH port forwarding as: ssh -p 2022 -L 2631:localhost:631 root@srap57dxr1.dev.xxxxx.xxxxx and direct the browser on my laptop to http://localhost:2631 -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland.
participants (1)
-
Matthias Apitz