Skip to content

Commit

Permalink
docs: reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Aug 26, 2024
1 parent 89d6a54 commit a61150f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions tmpl/home.page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -173,23 +173,23 @@ Cya!</pre>
</div>
</div>
</div>
</div>

<div class="box">
<h3 class="mt mb-2 pt-0 text-lg text-hdr inline-block">Push and pull docker images using SSH</h3>
<div class="flex gap-2 flex-collapse">
<div class="flex-1 group">
<div>Open a tunnel to our docker registry:</div>
<pre>ssh -L 1338:localhost:80 -N imgs.sh</pre>
</div>
<div class="flex-1 group">
<div>
Now you are authenticated! You are now able to push
and pull like normal:
</div>
<pre>docker push localhost:1338/alpine:latest
docker pull localhost:1338/alpine:latest</pre>
<div>All images sent to us are private and scoped to your user automatically.</div>
<div class="box">
<h3 class="mt mb-2 pt-0 text-lg text-hdr inline-block">Push and pull docker images using SSH</h3>
<div class="flex gap-2 flex-collapse">
<div class="flex-1 group">
<div>Open a tunnel to our docker registry:</div>
<pre>ssh -L 1338:localhost:80 -N imgs.sh</pre>
</div>
<div class="flex-1 group">
<div>
Now you are authenticated! You are now able to push
and pull like normal:
</div>
<pre>docker push localhost:1338/alpine:latest
docker pull localhost:1338/alpine:latest</pre>
<div>All images sent to us are private and scoped to your user automatically.</div>
</div>
</div>
</div>
Expand Down

0 comments on commit a61150f

Please sign in to comment.