docker-cups-airprint icon indicating copy to clipboard operation
docker-cups-airprint copied to clipboard

can't get it to run

Open m-arx opened this issue 4 years ago • 1 comments

my create command:

sudo docker create
--name=cups
--restart=always
--net=host
--privileged
-v /volume1/docker/AirPrint/config:/config
-v /etc/avahi/services:/services
-e CUPSADMIN="leprint"
-e CUPSPASSWORD="HellFire123!"
quadportnick/cups-airprint

logs has a loop of:

  • grep -ci leprint /etc/shadow
  • [ 0 -eq 0 ]
  • useradd -r -G lpadmin -M leprint
  • echo leprint:HellFire123!
  • chpasswd chpasswd: (user leprint) pam_chauthtok() failed, error: System error chpasswd: (line 1, user leprint) password not changed

I have also tried admin:password, cupsadmin:cupspass - always this loop.

what's wrong?

m-arx avatar Jan 14 '21 22:01 m-arx

I cannot reproduce this error on my system (Ubuntu 20.04, Docker version 20.10.2, build 2291f61).

I would recomment that you switch to one of the many forks, cause this repository seems to be unmaintained (last commit four years ago) and uses an outdated base os (Ubuntu 17.04) which is unsupported fo three years.
My recommendation would be @chuckcharlie's fork.

thoschworks avatar Jan 15 '21 14:01 thoschworks