Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Sep 5, 2024
1 parent 1a1b368 commit 532404c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ using just an SSH keypair? Well now it's possible.
Run our [cmd/docker](./cmd/docker/) example to see it in action!

```bash
# setup auth
mkdir ssh_data
cat ~/.ssh/id_ed25519.pub > ./ssh_data/authorized_keys

# start a registry
docker run -d -p 5000:5000 --restart always --name registry registry:2
# run the SSH app
Expand All @@ -35,6 +39,7 @@ ssh -L 1338:localhost:80 \
-o StrictHostKeyChecking=no \
-N \
localhost

# tag image
docker tag alpine localhost:1338/alpine
# push image
Expand Down

0 comments on commit 532404c

Please sign in to comment.