From f732270aa96128b01bb25ee0f846d2b85c8ca327 Mon Sep 17 00:00:00 2001 From: Lucas Rattz <41240438+lucasrattz@users.noreply.github.com> Date: Sat, 31 May 2025 18:33:04 -0300 Subject: [PATCH] Add single quote docker run info --- How_to_generate_an_bcrypt_hash.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/How_to_generate_an_bcrypt_hash.md b/How_to_generate_an_bcrypt_hash.md index 5c760e74..6693654b 100644 --- a/How_to_generate_an_bcrypt_hash.md +++ b/How_to_generate_an_bcrypt_hash.md @@ -12,6 +12,8 @@ docker run ghcr.io/wg-easy/wg-easy node -e 'const bcrypt = require("bcryptjs"); The hashed password will get printed on your terminal. Copy it and use on the `PASSWORD_HASH` environment variable. +If you are using `docker run` for running wg-easy, you must enclose the hash string in single quotes (`'...'`). + ## Using Docker + wgpw `wg-password` (wgpw) is a script that generates bcrypt password hashes. You can use it with docker: