Skip to content

Commit 532404c

Browse files
committed
docs: readme
1 parent 1a1b368 commit 532404c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ using just an SSH keypair? Well now it's possible.
2424
Run our [cmd/docker](./cmd/docker/) example to see it in action!
2525

2626
```bash
27+
# setup auth
28+
mkdir ssh_data
29+
cat ~/.ssh/id_ed25519.pub > ./ssh_data/authorized_keys
30+
2731
# start a registry
2832
docker run -d -p 5000:5000 --restart always --name registry registry:2
2933
# run the SSH app
@@ -35,6 +39,7 @@ ssh -L 1338:localhost:80 \
3539
-o StrictHostKeyChecking=no \
3640
-N \
3741
localhost
42+
3843
# tag image
3944
docker tag alpine localhost:1338/alpine
4045
# push image

0 commit comments

Comments
 (0)