备忘-快速创建用于http-auth的密码

一些冷门的命令有时会用到,网上博客讲的太罗嗦了,道理我都懂,我只想得到一条命令而已

docker run --rm -it frapsoft/openssl passwd -crypt <password>

详细用法参考:
http://httpd.apache.org/docs/2.2/programs/htpasswd.html

评论