Skip to content
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

Two suggestions for the official ClamAV Docker image #1124

Open
zhaoyungelele opened this issue Dec 27, 2023 · 13 comments
Open

Two suggestions for the official ClamAV Docker image #1124

zhaoyungelele opened this issue Dec 27, 2023 · 13 comments

Comments

@zhaoyungelele
Copy link

Two suggestions for the official ClamAV Docker image (https://hub.docker.com/r/clamav/clamav):

The ClamAV Docker image is currently built on Alpine Linux, which may have trouble resolving the ClamAV domain with some DNS servers (maintained by our users and cannot be changed). Could the team provide a version built on CentOS 7.x?

The ClamAV Docker includes two processes, one of which, Freshclam, runs in daemon mode. This is not a recommended approach in a Kubernetes (k8s) cluster. It is suggested to use the sidecar mode. Could you provide a more Kubernetes-friendly solution, such as Helm charts? I am willing to offer assistance if needed.

@ragusaa
Copy link
Contributor

ragusaa commented Jan 5, 2024

Hi,

Thank you for the interest in ClamAV.

Unfortunately, we don't have time in the schedule to work on a CentOS docker image, but we do have a debian image. Will that work for you?

As for the Kubernetes request, I know there are 3rd party Helm charts, but don't have any experience with how well they work. Have you looked into them?

Thanks,
Andy

@zhaoyungelele
Copy link
Author

Hi,

Thank you for the interest in ClamAV.

Unfortunately, we don't have time in the schedule to work on a CentOS docker image, but we do have a debian image. Will that work for you?

As for the Kubernetes request, I know there are 3rd party Helm charts, but don't have any experience with how well they work. Have you looked into them?

Thanks, Andy

Hi,
Andy, thanks for your reply.
The debian image is fine to me, how could I get a LTS version from the docker hub?

@zhaoyungelele
Copy link
Author

I haven't found a high-star 3rd party Helm charts . Just never mind. I will make it out myself.

@val-ms
Copy link
Contributor

val-ms commented Jan 8, 2024

The debian image is fine to me, how could I get a LTS version from the docker hub?

That's good to hear. We haven't officially announced availability of the debian image because of a couple issues in our process updating the image. My teammate @rsundriyal is working on it. Once it's fixed we'll regularly publish updated images for the 1.0 LTS and the newer supported versions.

@candrews
Copy link
Contributor

The ClamAV Docker image is currently built on Alpine Linux, which may have trouble resolving the ClamAV domain with some DNS servers (maintained by our users and cannot be changed).

That DNS issue was fixed in Alpine 3.18: https://www.theregister.com/2023/05/16/alpine_linux_318/

The clamav/clamav:1.2.1 docker image is based on Alpine 3.19, so it does not have that issue.

@val-ms
Copy link
Contributor

val-ms commented Jan 16, 2024

That sounds like good news, thanks @candrews.

Other good news: We resolved the build issues with clamav-debian images last week. I plan to announce that they're ready for general use later this week.

@zhaoyungelele
Copy link
Author

The ClamAV Docker image is currently built on Alpine Linux, which may have trouble resolving the ClamAV domain with some DNS servers (maintained by our users and cannot be changed).

That DNS issue was fixed in Alpine 3.18: https://www.theregister.com/2023/05/16/alpine_linux_318/

The clamav/clamav:1.2.1 docker image is based on Alpine 3.19, so it does not have that issue.

I had tried with the newest clamav version then, but it turned out not to work fine.

@candrews
Copy link
Contributor

I had tried with the newest clamav version then, but it turned out not to work fine.

What is the problem and how is it reproduced? I'd like to find the bug report for it in alpine or report it for you so it gets fixed.

@zhaoyungelele
Copy link
Author

I had tried with the newest clamav version then, but it turned out not to work fine.

What is the problem and how is it reproduced? I'd like to find the bug report for it in alpine or report it for you so it gets fixed.

The issue is related to a specific DNS server configuration, which is maintained by our users and cannot be changed. Can you please provide an Alpine Linux Docker image with the network tool chain? I could gather more information.

@zhaoyungelele
Copy link
Author

That sounds like good news, thanks @candrews.

Other good news: We resolved the build issues with clamav-debian images last week. I plan to announce that they're ready for general use later this week.

Hi, I've attempted to pull a Debian image but encountered the following issue:

image

It appears to be due to a lack of the image signature.

@tolmanam
Copy link

@zhaoyungelele - Did you find a reasonable third-party HELM chart?

@zhaoyungelele
Copy link
Author

@zhaoyungelele - Did you find a reasonable third-party HELM chart?

Not yet, I wrote a simple yaml file for our own K8s cluster.

@zhaoyungelele
Copy link
Author

zhaoyungelele commented Apr 18, 2024

That sounds like good news, thanks @candrews.
Other good news: We resolved the build issues with clamav-debian images last week. I plan to announce that they're ready for general use later this week.

Hi, I've attempted to pull a Debian image but encountered the following issue:

image

It appears to be due to a lack of the image signature.

I have found the reason and solved it. My docker version was too old. It was solved when I upgraded my docker to version 26.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants