-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to scan #5
Comments
It's meant to operate as a daemon for other applications to pass their files to and have it respond with either good/bad. I use it with my |
Do I need to mount the local directory to the docker container using volumes and then call clamscan? |
Yes, that's what I was saying: You could try this as a command line example Then when inside you would run the |
I found a problem that there is no virus database by default. I am a Chinese user, but the download speed here is very slow. How should I solve it? |
Right the container is designed to download a database on first install and will persist if you expose the proper volumes (/data). It's hardcoded where we download the definitions from but I can add in an environment variable for that, however i'm not sure where else we would get them from. Will do so tomorrow. |
Thank you very much |
Does this container have exposed APIs that can be used |
Is this project used correctly? |
I'm not so great with Python unfortunately. From my limited view should be correct? |
WRT to an API. We do expose port 3310 as a socket to take parameters. Thats the original intent of the container. If you research the way that Clam AV takes socket connections you should be able to pass a file via a TCP socket to it and it should give you a response (OK/FAIL). |
The result of my test is a failure |
What is the correct way to use this project? |
I use it for this purpose - To scan email messages as they come in from Rspamd, as per manual here: https://rspamd.com/doc/modules/antivirus.html |
Is it supported now? |
There's been no updates since we last wrote in here, image is working as intended.. |
/scan is not in the documentation, can this please be added? What I'm reading here isn't documented and I think this is pretty critical to using this container. |
How to scan
The text was updated successfully, but these errors were encountered: