From dc967f3363b00df636d05d1cad8a1985c6b02fcd Mon Sep 17 00:00:00 2001 From: Nils <32552517+byReqz@users.noreply.github.com> Date: Fri, 12 Feb 2021 23:41:21 +0000 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a85ae78..182b1ae 100644 --- a/README.md +++ b/README.md @@ -8,24 +8,24 @@ Dockerhub: [ssh-chat](https://hub.docker.com/r/byreqz/ssh-chat) Generate keys outside of Docker to keep persistence, and not get warnings: -``` +```bash $ ssh-keygen -t rsa -b 4096 -N '' -f ./ssh-chat-key ``` Run the docker image: -``` +```bash $ docker run -p 2022:2022 -v /ssh-chat-key:/ssh_key -v /admin_keys:/admin_keys byreqz/ssh-chat:latest ``` You may supply additional arguments to the image, example: -``` +```bash $ docker run -p 22:22 -v /ssh-chat-key:/ssh_key -v /admin_keys:/admin_keys byreqz/ssh-chat:latest --bind ":22" ``` Docker Compose: -``` +```yaml version: '3.1' services: ssh-chat: