Search Docker Hub
htpasswd
By markdegroot
Docker image to create a .htpasswd file.
271
.htpasswd
Run the container:
docker run -it --rm \ -e USERNAME=... \ -e PASSWORD=... \ markdegroot/htpasswd
or using a .env file:
.env
docker run -it --rm \ --env-file .env \ markdegroot/htpasswd
docker pull markdegroot/htpasswd:latest