Comments (12)
I use this command inside the container to look at the log. It should also contain information about the used definitions:
/bin/cat /var/log/clamav/freshclam.log
from docker-clamav.
hmm thanks @gregorko but this just gives me:
cat: can't open '/var/log/clamav/freshclam.log': No such file or directory
This is probably not a good sign?!
from docker-clamav.
you may try
sigtool --info /var/lib/clamav/daily.cvd
there you'll find the latest version.
from docker-clamav.
@mko-x this gives me a different error:
from docker-clamav.
What are the file stats?
stat /var/lib/clamav/daily.cvd
or
file /var/lib/clamav/daily.cvd
or
ls -lh /var/lib/clamav/daily.cvd
from docker-clamav.
/ # ls -lh /var/lib/clamav/daily.cvd
ls: /var/lib/clamav/daily.cvd: No such file or directory
from docker-clamav.
🤔
where is your bash at? are you inside of the clamav container or on the host?
which version/tag of mko-x/docker-clamav are you working with?
maybe try
clamscan --version
from docker-clamav.
Running mkodockx/docker-clamav:alpine
on an Azure Container Instance. So when connecting to it, it is inside the container. There is no bash so using /bin/sh
from docker-clamav.
Could you provide contents of
ls -lah /store
and output of
sigtool --info /store/daily.cvd
from docker-clamav.
ok, this looks more promising:
from docker-clamav.
So I guess now you have a possibility to check if you have the latest database.
Is there any command I could run to see the version of the currently installed definitions?
The question seems to be answered (:
from docker-clamav.
yes, thank you!
from docker-clamav.
Related Issues (20)
- init contributors HOT 62
- detailed logs for clamav HOT 2
- bootstrap.sh crashes container HOT 1
- Question to help fix a configuration HOT 4
- Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl: Connection refused HOT 4
- Container Won't Start Up HOT 12
- Reasoning for non-default config options HOT 2
- ClamAV installation is outdated HOT 1
- upgrade libcrypto1.1 and libssl1.1 for vulnerability issue HOT 5
- upgrade busybox, ssl_client , zlib and libcurl for vulnerability issues HOT 1
- upgrade gzip and zlib1g for vulnerability issues HOT 3
- mkodockx/docker-clamav:alpine-idb-amd64 does not respond in Azure HOT 2
- Root Login to Container HOT 4
- Upgrade openssl to the newer version (>1.1.1q-r0) for fixing the CVE-2022-2097 HOT 2
- Custom Dockerfile From ClamAV Base Image with Server HOT 1
- Update Error HOT 1
- Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl: No such file or directory HOT 2
- docker image rebuild HOT 2
- Memory Spike / Slowly decrease over time HOT 3
- Still maintained?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-clamav.