forked from mirrors/amnezia-wg-easy
		
	wg-password(docu): fixup docker command
This commit is contained in:
		
							parent
							
								
									3427d677f6
								
							
						
					
					
						commit
						f4b3d4fb6b
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -12,12 +12,12 @@
 | 
			
		|||
To generate a bcrypt password hash using docker, run the following command :
 | 
			
		||||
 | 
			
		||||
```sh
 | 
			
		||||
docker run ghcr.io/wg-easy/wg-easy wgpw YOUR_PASSWORD
 | 
			
		||||
docker run -it ghcr.io/wg-easy/wg-easy wgpw YOUR_PASSWORD
 | 
			
		||||
PASSWORD_HASH='$2b$12$coPqCsPtcFO.Ab99xylBNOW4.Iu7OOA2/ZIboHN6/oyxca3MWo7fW' // literally YOUR_PASSWORD
 | 
			
		||||
```
 | 
			
		||||
If a password is not provided, the tool will prompt you for one :
 | 
			
		||||
```sh
 | 
			
		||||
docker run ghcr.io/wg-easy/wg-easy wgpw
 | 
			
		||||
docker run -it ghcr.io/wg-easy/wg-easy wgpw
 | 
			
		||||
Enter your password:      // hidden prompt, type in your password
 | 
			
		||||
PASSWORD_HASH='$2b$12$coPqCsPtcFO.Ab99xylBNOW4.Iu7OOA2/ZIboHN6/oyxca3MWo7fW'
 | 
			
		||||
```
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue