docker run --rm -v <path/to/scan>:/project fossology/atarashi:latest <options> /project/<path/to/file>
Since docker can not access host fs directly, we mount a volume from the directory containing the files to scan to /project in the container. Simply pass the options and path to the file relative to the mounted path.
How to create docker image
docker build -t fossology/atarashi:latest .
How to run docker image
docker run --rm -v <path/to/scan>:/project fossology/atarashi:latest <options> /project/<path/to/file>
Merge after: #43 Docker image: https://hub.docker.com/r/gmishx/atarashi/tags/ (
gmishx/atarashi:feat_Dockerization
)