container defenre inside google's distroless container

Reply
L0 Member

container defenre inside google's distroless container

Hello,

I'm trying to run defender in fargate/sidecar mode. It works fin if I use alpine/ubuntu images as base, but It fails when I try to use google's distroless static/base images

 

The only log I get is

 

tandard_init_linux.go:190: exec user process caused "no such file or directory"

 

The  container works fine if I don't run the defender, so it seems not to be related to my binary

 

Any hint on how to fix this , if possible at all ?

 

thanks

 

update: it seems that the fargate_defender.sh is the issue. I changed the entrypoint to use the defender command directly and it seems to work. However this way I will not have the sleeping loop, so I might end adding some workaround... 

Highlighted
Community Team Member

Re: container defenre inside google's distroless container

Thank you for the update !

 

Cheers !

-Kiwi.

 
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!