Tweak the accuracy on one piece of tutorial text.
This commit is contained in:
parent
069bd2b1fd
commit
a220d59e4b
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<div class="alert alert-info">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="containerId">Enter a repo name:</label>
|
||||
<label class="control-label" for="containerId">Enter a repository name:</label>
|
||||
<div class="form-inline">
|
||||
<form name="repoNameForm">
|
||||
<input type="text" id="repoName" name="repoName" class="form-control"
|
||||
|
@ -13,9 +13,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<p>Once a container has terminated in Docker, the next step is to <i>tag</i> the container to an image, so it can be saved to a repository.</p>
|
||||
<p>Once a container has terminated in Docker, the next step is to <i>commit</i> the container to an image, and then <i>tag</i> that image with a relevant name so it can be saved to a repository.</p>
|
||||
|
||||
<p>To do so, we run the <code>docker commit</code> with the container ID from the previous step and tag it to be a repository under <code>quay.io</code>.
|
||||
<p>Docker lets us do this in one step with the <i>commit</i> command. To do so, we run the <code>docker commit</code> with the container ID from the previous step and tag it to be a repository under <code>quay.io</code>.
|
||||
|
||||
<pre class="command">
|
||||
docker commit <var class="var1">{{ tour.tourScope.containerId || 'containerId' }}</var> quay.io/{{ tour.tourScope.username }}/<var class="var2">{{ tour.tourScope.repoName || 'myfirstrepo' }}</var>
|
||||
|
|
Reference in a new issue