mirror of
https://github.com/Choff3/docker-airsane.git
synced 2026-01-26 15:38:13 +00:00
A Dockerized SANE and AirSane app.
- Dockerfile 57.6%
- Shell 42.4%
| .github/workflows | ||
| CHANGELOG.md | ||
| configure.sh | ||
| Dockerfile | ||
| README.md | ||
| supervisord.conf | ||
docker-airsane
A Dockerized SANE/AirSane scanner server.
Abstract
This Debian-based Docker container contains daemons for SANE and AirSane.
Installation and Usage
This Docker container takes in the following environment variables:
SANED_ACL(required): the IP range of hosts that are allowed to access the daemon.SANED_DEVICE(required): the device (as reported byscanimage -L) to broadcast to the network.SANED_DLL(optional): values used to overwrite/etc/sane.d/dll.conffor a fastersanedresponse.
An example CLI usage is shown below:
docker run --device /dev:/dev --privileged -e SANED_ACL="192.168.0.0/24\n10.0.0.0/8" -e SANED_DEVICE="hpaio:xxx" -e SANED_DLL="hp\hpaio" sesceu/saned
It is important to make sure that the device node (e.g. /dev/usb/00x/) has group ID 7 (lp) and group read access.
License Notice
This repo is a derivative of sesceu/docker-saned by Sebastian Schneider, which is licensed under the Apache License 2.0. The repository was forked on October 30, 2021, 21:00 UTC. The following is a list of changes which have been made, on a per-file basis:
Dockerfile- Changed base from Ubuntu 16.04 to Debian Buster
- Added code to install AirSane
- Exposed port 8090 (the default port for AirSane's web interface)
- Removed/reworked comments
- Changed formatting
supervisord.conf- Added AirSane daemon and its configuration
- Minor fixes in some other configurations