tomsquest/docker-radicale

can't create secured users through htpasswd

wizel10 opened this issue · 4 comments

Wanted to create a user for external access, but failed to create through htpasswd:
docker exec -ti radicale htpasswd -c /users user1
with error "...container process caused: exec: "htpasswd": executable file not found in $PATH..."
Can you confirm htpasswd is available in the container?

Just looking at the Dockerfile, seems apache2-utils is missing in the apk load (lines 32...).

The preferred way it to use your host to generate the password file if you need.
We won't add a dependency (making the image larger and increasing the attack surface) for that.

@tomsquest I think that this should be mentioned in the readme

Can you make a PR with what you would have liked to find in a section of the Readme?