Skip to content

Unable to run cups in docker container #1275

@87n-apps

Description

@87n-apps

Before you write the report
Read the REPORTING_ISSUES.md file in the main repository and prepare data mentioned there which looks relevant to you issue.

Describe the bug
After cloning cups repo docker container fails to run successfully. With missing packages and unable to find cupsd.

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/OpenPrinting/cups.git
  2. cd cups
  3. docker build .
  4. docker compose up -d docker_compose_up.txt
  5. See container is not running docker ps -a
  6. Roll back changes from Update Dockerfile to Multi-Stage #1153
  7. docker rm cups; docker image rm cups-cups
  8. docker build .
  9. docker compose up
  10. Container exits with /usr/sbin/cupsd: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory

Expected behavior
A docker container that has cups running when docker compose up is run.

Screenshots

System Information:

  • OS and its version: Linux Mint 22.1
  • Application: Docker
  • CUPS version: CUPS 2.5b1

Additional context
Recent merged pull request #1153 actually fails to copy relevant files to runtime stage causing error listed in step 4 in reproducing behavior.

Metadata

Metadata

Assignees

Labels

platform issueIssue is specific to an OS or desktop

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions