jensdufour / airprint Goto Github PK
View Code? Open in Web Editor NEWThis Ubuntu-based Docker image runs a CUPS instance that is meant as an AirPrint
Home Page: https://jensdufour.xyz
License: GNU General Public License v3.0
This Ubuntu-based Docker image runs a CUPS instance that is meant as an AirPrint
Home Page: https://jensdufour.xyz
License: GNU General Public License v3.0
Run following commands:
cp /services/* /etc/avahi/services/
/etc/init.d/dbus start
/etc/init.d/avahi-daemon start
here is the docker-compose (i didnt change much vs. the example)
version: "3"
services:
airprint:
image: firilith/airprint:latest
container_name: airprint
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Zurich
# - CUPSADMIN= #optional
# - CUPSPASSWORD= #optional
volumes:
- /home/remote_fs_user/conf/airprint/services:/services
- /home/remote_fs_user/conf/airprint/config:/config
- /var/run/dbus:/var/run/dbus
# restart: unless-stopped
here are the logs:
+ grep -ci /etc/shadow
+ [ 0 -eq 0 ]
+ useradd -r -G lpadmin -M
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]
Options:
-b, --base-dir BASE_DIR base directory for the home directory of the
new account
-c, --comment COMMENT GECOS field of the new account
-d, --home-dir HOME_DIR home directory of the new account
-D, --defaults print or change default useradd configuration
-e, --expiredate EXPIRE_DATE expiration date of the new account
-f, --inactive INACTIVE password inactivity period of the new account
-g, --gid GROUP name or ID of the primary group of the new
account
-G, --groups GROUPS list of supplementary groups of the new
account
-h, --help display this help message and exit
-k, --skel SKEL_DIR use this alternative skeleton directory
-K, --key KEY=VALUE override /etc/login.defs defaults
-l, --no-log-init do not add the user to the lastlog and
faillog databases
-m, --create-home create the user's home directory
-M, --no-create-home do not create the user's home directory
-N, --no-user-group do not create a group with the same name as
the user
-o, --non-unique allow to create users with duplicate
(non-unique) UID
-p, --password PASSWORD encrypted password of the new account
-r, --system create a system account
-R, --root CHROOT_DIR directory to chroot into
-s, --shell SHELL login shell of the new account
-u, --uid UID user ID of the new account
-U, --user-group create a group with the same name as the user
-Z, --selinux-user SEUSER use a specific SEUSER for the SELinux user mapping
--extrausers Use the extra users database
(and then it exits)
Docker version 20.10.7, build f0df35096d
linux 5.10.21-1-lts x86_64 GNU/Linux
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.