Crowdsec for alpine linux (wizard.sh doesn't work)

Hi,
I want use crowdsec on my home made firewall/reverse proxy based on alpine linux unfortunately, wizard.sh doesn’t work with alpine linux while a docker version based on it exist ?

Wtf ?

How to install on it.
Thx

Hi,

Can you show us some logs of the error you got ? That way we’ll be able to look into this.

Thanks,

Hello,
I tried to install crowdsec on alpine too and I get the error :
env: can’t execute ‘bash’: No such file or directory
the shell used in Alpine is ash.
SHELL=/bin/ash
So I install bash with apk add bash and run the script again.
But now I get several errors systemctl: command not found because Alpine doesn’t use SystemD but OpenRC.

Ok, I’ll report this to the team. We may put the support of OpenRC higher in the todo list soon. I’ll keep you posted here.

2 Likes

I use Alpine as well, so it would be great with OpenRC support. How far down the todo is it?

1 Like

Hello,

Hopefully during october or early november you should get news of it :sweat_smile:

1 Like