Git Product home page Git Product logo

Comments (3)

sandeepjain98 avatar sandeepjain98 commented on July 18, 2024

Hi,
Same issue with alpine-edge.
When I am running on local I don't get this issue but issue in Azure.
I am directly deploying a docker image in Azure app service without docker-compose.
am I missing something? is it the right way to dpeloy?

docker run -d -p 6941:3310 --name ##################_0_b5a69de6 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=true -e WEBSITES_PORT=3310 -e WEBSITE_SITE_NAME=################## -e WEBSITE_AUTH_ENABLED=False -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=##################.azurewebsites.net -e WEBSITE_INSTANCE_ID=############# mk0x/docker-clamav:alpine-edge

2020-06-13T19:40:14.929Z INFO - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-06-13T19:40:15.826Z INFO - Initiating warmup request to container ##################_0_b5a69de6 for site ##################
2020-06-13T19:40:30.997Z INFO - Waiting for response to warmup request for container ##################_0_b5a69de6. Elapsed time = 15.1710335 sec
2020-06-13T19:40:46.135Z INFO - Waiting for response to warmup request for container ##################_0_b5a69de6. Elapsed time = 30.3091699 sec
2020-06-13T19:41:01.276Z INFO - Waiting for response to warmup request for container ##################_0_b5a69de6. Elapsed time = 45.4502145 sec
2020-06-13T19:41:25.312Z INFO - Waiting for response to warmup request for container ##################_0_b5a69de6. Elapsed time = 69.4856392 sec
2020-06-13T19:41:40.431Z INFO - Waiting for response to warmup request for container ##################_0_b5a69de6. Elapsed time = 84.6051922 sec

from docker-clamav.

sandeepjain98 avatar sandeepjain98 commented on July 18, 2024

the docker image never passes health check on Azure. Please help if something is missing in setup.

2020-06-14T06:17:28.600Z INFO - Waiting for response to warmup request for container ############. Elapsed time = 227.2461942 sec
2020-06-14T06:17:31.649Z ERROR - Container ##################_0_9885c0e1 for site ################## did not start within expected time limit. Elapsed time = 230.2945058 sec
2020-06-14T06:17:31.652Z ERROR - Container ##################_0_9885c0e1 didn't respond to HTTP pings on port: 3310, failing site start. See container logs for debugging.
2020-06-14T06:17:31.656Z INFO - Stopping site ################## because it failed during startup.
2020-06-14T06:22:17.913Z INFO - Pulling image from Docker hub: mkodockx/docker-clamav:alpine-edge

from docker-clamav.

mko-x avatar mko-x commented on July 18, 2024

I have absolutely no experience with Azure. There might be a bunch of problems like network configuration.

What I see here is the healtcheck goes wrong:

2020-06-14T06:17:31.652Z ERROR - Container ##################_0_9885c0e1 didn't respond to HTTP pings on port: 3310

As ClamAV itself doesn't work via HTTP the healtcheck will always fail. You would need to use a Proxy to translate your requests. e.g. https://github.com/solita/clamav-rest and/or configure a custom healtcheck in Azure (https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-create-probe-portal).

See https://stackoverflow.com/questions/5121337/setup-and-use-clamav-anti-virus-with-azure as well.

I could not provide much help with it.

from docker-clamav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.