16 lines
789 B
HTML
16 lines
789 B
HTML
<div class="alert alert-info">
|
|
<div class="control-group">
|
|
<label class="control-label" for="containerId">Enter a repo name:</label>
|
|
<div class="form-inline">
|
|
<input type="text" id="containerId" class="form-control" ng-model="tour.tourScope.repoName">
|
|
</div>
|
|
</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>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 }}</var> quay.io/{{ tour.tourScope.username }}/<var class="var2">{{ tour.tourScope.repoName }}</var>
|
|
</pre>
|