jasonish / docker-suricata

A Suricata Docker image.
https://hub.docker.com/r/jasonish/suricata/
MIT License
250 stars 76 forks source link

PUID and PGID not working #16

Closed jerkball closed 3 years ago

jerkball commented 3 years ago

RaspBerry Pi 4 - Raspberry OS here... using suricata latest...

With PUID and PGID as environmental docker doesn't start:

/docker-entrypoint.sh: line 11: groupmod: not found

If using just the PUID environmental I get:

/docker-entrypoint.sh: line 15: usermod: not found

Default PUID 100 is systemd-timesync in Raspbian OS... Would like to use the Pi User with ID 1000

Thank you very much!

jasonish commented 3 years ago

Trying pulling again, I've made an update. If it still fails, please tell me which image you are pulling.

jerkball commented 3 years ago

Seems to work now... deleted everything... Added PGID and PUID... and files are created with correct owner...

No error in logs anymore....

Thanks a lot!