This Docker image sets up AirSane inside a docker container.
AirSane is a SANE WebScan frontend that supports Apple's AirScan protocol. Scanners are detected automatically, and published through mDNS.
To use docker-airsane, follow these steps:
-
Download your scanner drivers in DEB format into a directory named
./drivers
. -
Clone and start the container:
docker run --privileged -p 8090:8090 \ -v /dev/bus/usb:/dev/bus/usb -v /run/dbus:/run/dbus \ -v "${PWD}"/drivers:/opt/drivers docker.io/aguslr/airsane:latest
-
Open http://127.0.0.1:8090 with your web browser to access your scanner.
Instead of pulling the image from a remote repository, you can build it locally:
-
Clone the repository:
git clone https://github.com/aguslr/docker-airsane.git
-
Change into the newly created directory and use
docker-compose
to build and launch the container:cd docker-airsane && docker-compose up --build -d