docker-clamav icon indicating copy to clipboard operation
docker-clamav copied to clipboard

s6-overlay-suexec: fatal: can only run as pid 1

Open TechnoDezi opened this issue 2 years ago • 4 comments

Summary

When attempting to run tiredofit/clamav:latest on Azure Container Instance I get the error "s6-overlay-suexec: fatal: can only run as pid 1" as the container is starting and then it never starts successfully. The Version from 2021/04 seems to start fine, but clamAV is too out datated and can't download files.

Steps to reproduce

Add a container instance on Azure and set it up to use tiredofit/clamav:latest.

What is the expected correct behavior?

The container should start, load clam AV and update virus database.

TechnoDezi avatar Nov 09 '22 11:11 TechnoDezi

I believe this is related to the upgrade of S6 Overlay from 2.x to 3.x in the base images.

Are you trying to launch this container as a scoped user?

tiredofit avatar Nov 09 '22 16:11 tiredofit

Hi

Sorry for the delay. I think it must be yes. I'm not sure how Azure container instances start the container, but it's very likely scoped user.

TechnoDezi avatar Nov 10 '22 08:11 TechnoDezi

Hi, Any suggestion with this? We are experiencing the same problem. Last version successfully run on Azure is 2.3.1.

makschr avatar Nov 30 '22 12:11 makschr

Same problem here - pulling the 2.3.1 image from Docker into an Azure Container Instance works but any later image fails with the "s6-overlay-suexec: fatal: can only run as pid 1" error. Going back to the Alpine base, the 3.5-7.2.19 image works and 3.5-7.3.0 fails with the same error - the version where S6 was changed from 2 to 3.

JonSmith avatar Dec 01 '22 14:12 JonSmith