Redo the landing page to:
- Show the user's top repos if they have any - Show a link to the guide and the repos list if they do not - Add a getting starting guide - Redo the repos list to show the user's repos and the top 10 public repos separately
This commit is contained in:
parent
f12ed9859c
commit
927b280f1a
9 changed files with 220 additions and 23 deletions
33
static/partials/guide.html
Normal file
33
static/partials/guide.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<div class="container">
|
||||
<div class="alert alert-warning">Warning: Quay requires docker version 0.7 or higher to work</div>
|
||||
|
||||
<h2>Getting started guide</h2>
|
||||
<div class="container">
|
||||
|
||||
<h3>Pushing a repository to Quay</h3>
|
||||
<div class="container">
|
||||
First, tag the image with your repository name:<br><br>
|
||||
<pre>docker tag <i>0u123imageid</i> quay.io/<i>repo_namespace/repo_name</i></pre>
|
||||
<br>
|
||||
Second, push the repository to Quay:<br><br>
|
||||
<pre>docker push quay.io/<i>repo_namespace/repo_name</i></pre>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h3>Pulling a repository from Quay</h3>
|
||||
<div class="container">
|
||||
<div class="alert alert-info">Note: <b>Private</b> repositories require you to be <b>logged in</b> or the pull will fail. See below for how to sign into Quay if you have never done so before. </div>
|
||||
To pull a repository from Quay, run the following command:
|
||||
<br><br>
|
||||
<pre>docker pull quay.io/<i>path/to/repository</i></pre>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h3>Signing into to Quay <span class="label label-default">Optional</span></h3>
|
||||
<div class="container">
|
||||
If you have never pushed a repository to Quay and wish to pull a <b>private</b> repository, you can sign into Quay by running the following command:
|
||||
<br><br>
|
||||
<pre>docker login quay.io</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in a new issue