Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ClamAV or other AV docker available?

Featured Replies

I'm an unraid newbie, been trying the demo. I'm pretty sure I'll be moving all my data over & purchasing a license but was wondering about antivirus software available. It's the one thing I haven't found yet.

 

I have an app on my Synology that monitors and scans files on my NAS. Is there something for unraid? Like a docker that will scan and monitor all my shares?

 

Or would I need to set up a VM with something and do it that way?

 

Thanks!

  • 6 months later...
9 hours ago, kizer said:

 

You should add it to CA for easier download and install. 😀

I agree. I know I’d use it.

I admittedly must say I took a look at it and was at a loss on how to really install it.


Sent from my iPhone using Tapatalk

1 minute ago, kizer said:

I admittedly must say I took a look at it and was at a loss on how to really install it.


Sent from my iPhone using Tapatalk

You can easily do this until I get it working with CA.

From the shell of your unRAID server

docker run -it -d -v clamav-db:/var/lib/clamav -v /mnt/user:/scan:ro tquinnelly/clamav -i

That will install the docker container, and it will start up, update the virus db, and start scanning /mnt/user.

 

Hope that helps.

2 minutes ago, TQ said:
You can easily do this until I get it working with CA.
From the shell of your unRAID server

docker run -it -d -v clamav-db:/var/lib/clamav -v /mnt/user:/scan:ro tquinnelly/clamav -i
 

That will install the docker container, and it will start up, update the virus db, and start scanning /mnt/user.
 
Hope that helps.


Thanks I’ll give it a try soon. I wasn’t sure if it was just that easy. 

Sent from my iPhone using Tapatalk

 

 

@TQ

 

It did a download and then it gave me the following after extracting.

 

root@Tower:~# docker run -it -d -v clamav-db:/var/lib/clamav -v /mnt/user:/scan:ro tquinnelly/clamav -i
f30ffdf2f0124b12e3b44a4e04dd23ea0529f873db0bbc1a7741ce392708820f
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/scan.sh\": permission denied": unknown.

 

Also where is it installing the files to? Location wise that is.

 

I think I'll wait a bit to see where this goes. 😀

Thanks for working on this.

1 hour ago, kizer said:

@TQ

 

It did a download and then it gave me the following after extracting.

 


root@Tower:~# docker run -it -d -v clamav-db:/var/lib/clamav -v /mnt/user:/scan:ro tquinnelly/clamav -i
f30ffdf2f0124b12e3b44a4e04dd23ea0529f873db0bbc1a7741ce392708820f
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/scan.sh\": permission denied": unknown.

 

Looks like an issue with chmod +x scan.sh. Thanks for drawing my attention to that. 
Just did another build and that error goes away and works (not unraid)

 

Issue of UID/GID is now prevalent for unRAID. Will resolve for unRAID soon.

23 hours ago, kizer said:

@TQ

...

Also where is it installing the files to? Location wise that is.

 

I think I'll wait a bit to see where this goes. 😀

Thanks for working on this.

The files are installed to the local image upon first launch, then updated every time you launch it again.

I just moved that out of the image and into a mnt point on my unRAID and that seems to work great. Doesn't take up space in the docker.img file.

 

Also, just requested it be added to CA.

56 minutes ago, TQ said:

Also, just requested it be added to CA.

Looks like it's been added.

 

SafariScreenSnapz162.thumb.jpg.e11718172c1e6b7af912b0a17b811fd6.jpg

Looks like it failed though.

 

root@Brunnhilde:~# docker run -it tquinnelly/clamav -i
2019-06-15T16:16+0000 ClamAV scanning started
Updating ClamAV scan DB
ClamAV update process started at Sat Jun 15 16:16:00 2019
Downloading main.cvd [100%]
main.cvd updated (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Downloading daily.cvd [100%]
daily.cvd updated (version: 25481, sigs: 1594709, f-level: 63, builder: raynman)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 328, sigs: 94, f-level: 63, builder: neo)
Database updated (6161052 signatures) from database.clamav.net (IP: 104.16.219.84)
Freshclam updated the DB
Scanning /scan
/scan: No such file or directory
WARNING: /scan: Can't access file

----------- SCAN SUMMARY -----------
Known viruses: 6151733
Engine version: 0.101.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 25.827 sec (0 m 25 s)

 

Template works for me.  You don't need to issue the cli command.

 

Just start it from the docker tab.  When its finished the container will stop and you can look at the logs

19 minutes ago, wgstarks said:

Looks like it failed though.

 


root@Brunnhilde:~# docker run -it tquinnelly/clamav -i
2019-06-15T16:16+0000 ClamAV scanning started
Updating ClamAV scan DB
ClamAV update process started at Sat Jun 15 16:16:00 2019
Downloading main.cvd [100%]
main.cvd updated (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Downloading daily.cvd [100%]
daily.cvd updated (version: 25481, sigs: 1594709, f-level: 63, builder: raynman)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 328, sigs: 94, f-level: 63, builder: neo)
Database updated (6161052 signatures) from database.clamav.net (IP: 104.16.219.84)
Freshclam updated the DB
Scanning /scan
/scan: No such file or directory
WARNING: /scan: Can't access file

----------- SCAN SUMMARY -----------
Known viruses: 6151733
Engine version: 0.101.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 25.827 sec (0 m 25 s)

 

You ran it via command line w/o any parameters.

If you run it via command line, you'll have to run it like I mention on github.

docker run -it \
  -v /path/to/scan:/scan:ro \ 
  tquinnelly/clamav -i

It doesn't know what to scan.

Edited by TQ

image.thumb.png.26323453dcf2d75029cfee040cd2c6ad.png

 

This is what it looks like running from CA. It adds the default `/mnt/user` as the scan target.

 

/# docker logs -f ClamAV
2019-06-15T11:34-0500 ClamAV scanning started
Updating ClamAV scan DB
ClamAV update process started at Sat Jun 15 11:34:19 2019
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Downloading daily-25481.cdiff [100%]
daily.cld updated (version: 25481, sigs: 1594709, f-level: 63, builder: raynman)
bytecode.cvd is up to date (version: 328, sigs: 94, f-level: 63, builder: neo)
Database updated (6161052 signatures) from database.clamav.net (IP: 104.16.218.84)
Freshclam updated the DB
Scanning /scan

 

Edited by TQ

2 minutes ago, TQ said:

image.thumb.png.26323453dcf2d75029cfee040cd2c6ad.png

 

This is what it looks like running from CA. It adds the default `/mnt/user` as the scan target.

How would I run it if not from command line? I don’t see any other way to launch it.

 

Edit: I did install the docker via CA as you showed in your post.

Edited by wgstarks

29ca6144aed17d93ef5cc9716b5870b5.jpg

Does this look Normal?


Sent from my iPhone using Tapatalk

Ah I think it was having issues attempting to Scan my TimeMachine Backup Shares. Would be really nice if we could tell it not to scan Specific Shares. In the mean time I just told it to scan a Specific Share opposer to /mnt/user. With the /scan config option in the Template.

 

 

Scanned Half of my Ripped Media. No known viruses. Lol. Only Half simply because I directed it to a specific share.

 

21 minutes ago, Squid said:

Template works for me.  You don't need to issue the cli command.

 

Just start it from the docker tab.  When its finished the container will stop and you can look at the logs

Thanks. I get it now. Do I also need to manually start the recursing_einstein docker that CA installed along with ClamAV?

Thanks. I get it now. Do I also need to manually start the recursing_einstein docker that CA installed along with ClamAV?

 

 

Uh I think that was part of the Old Docker. I don’t have that in my Docker list anymore. I deleted everything and reinstalled the new Docker and everything works fine.

 

 

Sent from my iPhone using Tapatalk

1 minute ago, kizer said:

 

 


Uh I think that was part of the Old Docker. I don’t have that in my Docker list anymore.


Sent from my iPhone using Tapatalk

 

 

Also installed one named gallant_dhawan.

7 minutes ago, wgstarks said:

Also installed one named gallant_dhawan.

Those are installs that you did from the CLI and didn't name

 

Hmmm I don’t know. I just checked my Dockers list again and there is no mention of that. I’ve ran the Clam Docker 4x and it hasn’t recreated it once. Heck I’ve even modified the Template a few times to have it scan specific shares. I’ll try and uninstall it and see if it creates it. I know it did the first time a day or two ago. 

May need some tweaks to accommodate large file sizes, but generally speaking, infected files are "usually" the small ones.

 

Installing in unRAID via CA is the preferred way now. You'll get updates and everything like magic.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.