Sign inSign up

aguslr/airsane

By aguslr

Updated 13 days ago

Setup AirSane to share local USB scanners over the network

Image
0

10K+

aguslr/airsane repository overview

aguslr/docker-airsane

docker-pulls image-size

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.

Installation

To use docker-airsane, follow these steps:

  1. Download your scanner drivers in DEB format into a directory named ./drivers.

  2. Clone and start the container:

    docker run -p 8090:8090 \
      -v /dev/bus/usb:/dev/bus/usb \
      -v /run/dbus:/run/dbus \
      -v "${PWD}"/drivers:/opt/drivers \
      --device-cgroup-rule='c 189:* rmw' \
      docker.io/aguslr/airsane:latest
    
  3. Open http://127.0.0.1:8090 with your web browser to access your scanner.

Build locally

Instead of pulling the image from a remote repository, you can build it locally:

  1. Clone the repository:

    git clone https://github.com/aguslr/docker-airsane.git
    
  2. Change into the newly created directory and use docker-compose to build and launch the container:

    cd docker-airsane && docker-compose up --build -d
    

Tag summary

Content type

Image

Digest

sha256:cfe0548a1

Size

89.7 MB

Last updated

13 days ago

docker pull aguslr/airsane