33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
<div class="container">
|
|
<div class="alert alert-warning">Warning: Quay requires docker version 0.6.2 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>username/repo_name</i></pre>
|
|
<br>
|
|
Second, push the repository to Quay:<br><br>
|
|
<pre>docker push quay.io/<i>username/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>username/repo_name</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>
|