Comments (3)
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.
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.
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)
- 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.