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

Container becomes unhealthy for recent image after 1.4.1-17 #71

Open
ackava opened this issue Dec 30, 2024 · 0 comments
Open

Container becomes unhealthy for recent image after 1.4.1-17 #71

ackava opened this issue Dec 30, 2024 · 0 comments

Comments

@ackava
Copy link

ackava commented Dec 30, 2024

I am using container as mentioned below,

version: '3.4'
name: cloud-server
services:
  clam-av:
    image: clamav/clamav
    restart: always
    container_name: clam-av
    volumes:
      - clamdb:/var/lib/clamav
      - /home/clam-av/:/tmp/
    ports:
      - 3310:3310
    environment:
      - FRESHCLAM_CHECKS=12
    networks:
      - sm_network

This docker compose has been functioning correctly since last 6 months, but after recent build, I started getting ECONNREFUSED for unix socket connection, so I tracked back working container image that was tagged with :1.4.1-17 released 14 days ago.

clamav/clamav:1.4.1-17 works correctly, however recent image clamav/clamav published few hours ago and 7 days ago, starts correctly but after few seconds/minutes, container becomes unhealthy and I start getting ECONNREFUSED,

Unix socket exists on the file, and all permissions are correct, I checked if there was any recent changes to clam av configuration, but I didn't find any notable changes that would impact this.

Server has 8GB of RAM and more than 4GB is always free for clamav.

Container log doesn't log anything.

Running docker inspect also doesn't log anything except that docker ping couldn't connect to server hinting that the container is crashed.

I am traveling for few days now, however, if there is anyway to log detailed error, I will be happy to provide. Please let me know how can I help.

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

1 participant