Docker image to run htpasswd from Docker
10K+
htpasswd from DockerDocker image to run htpasswd from Docker.
You can run as the program as if you were running htpasswd. To be able to store in a local file
you can use the -b (batch mode) or mount a local volume (-v "$(pwd)":/output.
docker run --rm marcnuri/htpasswd [<options>] [<passwordFile>] <user> <password>
docker run --rm marcnuri/htpasswd -Bbn desiredUser desiredPassword > local-path/htpasswd
docker run --rm -v $(pwd):/output marcnuri/htpasswd /output/htpasswd desiredUser desiredPassword
Docker image hosted at Docker Hub: https://hub.docker.com/r/marcnuri/htpasswd/
Content type
Image
Digest
Size
3 MB
Last updated
over 5 years ago
docker pull marcnuri/htpasswd