Fix the command to generate public key
diff --git a/apps/wireguard/README.md b/apps/wireguard/README.md
index 5dce3df..7097a91 100644
--- a/apps/wireguard/README.md
+++ b/apps/wireguard/README.md
@@ -9,7 +9,7 @@
 docker run --rm -i masipcat/wireguard-go wg genkey > privatekey
 
 # Generate publickey from privatekey
-docker run --rm -i masipcat/wireguard-go wg genkey < privatekey > publickey
+docker run --rm -i masipcat/wireguard-go wg pubkey < privatekey > publickey
 ```
 
 ## Run server