commit
8e788c554c
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<p>The first step to creating an image is to create a container and fill it with some data.</p>
|
||||
|
||||
<p>First we'll create a container with a single new file based off of the <code>ubuntu</code> base image:</p>
|
||||
<p>First we'll create a container with a single new file based off of the <code>busybox</code> base image:</p>
|
||||
|
||||
<pre class="command">
|
||||
<code ng-show="tour.tourScope.showSudo">sudo </code>docker run busybox echo "fun" > newfile
|
||||
|
@ -11,7 +11,7 @@
|
|||
<pre class="command">
|
||||
<code ng-show="tour.tourScope.showSudo">sudo </code>docker ps -l
|
||||
CONTAINER ID IMAGE COMMAND CREATED
|
||||
<var class="var1">07f2065197ef</var> ubuntu:12.04 echo fun 31 seconds ago
|
||||
<var class="var1">07f2065197ef</var> busybox:latest echo fun 31 seconds ago
|
||||
</pre>
|
||||
|
||||
<div class="user-enter-box">
|
||||
|
|
Reference in a new issue