You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dockerfile_tutorial/templates/dockerfile/level1.html
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,8 @@ <h1>Dockerfile tutorial</h1>
26
26
<h2>Level 1 - FROM, RUN, #, MAINTAINER</h2>
27
27
28
28
<p>
29
-
In this section we will cover the most important instructions: <code><ahref="http://docs.docker.io/en/latest/use/builder/#from" target="_blank">FROM</a></code> and <code><ahref="http://docs.docker.io/en/latest/use/builder/#run" target="_blank">RUN</a></code>.
30
-
We will also see how to use the <code><ahref="http://docs.docker.io/en/latest/commandline/cli/#build" target="_blank">docker build</a></code> command and how to specify the <ahref="http://docs.docker.io/en/latest/use/builder/#maintainer" target="_blank">maintainer</a> of the Dockerfile and how to insert comments.
29
+
In this section we will cover the most important instructions: <code><ahref="http://docs.docker.io/en/latest/reference/builder/#from" target="_blank">FROM</a></code> and <code><ahref="http://docs.docker.io/en/latest/reference/builder/#run" target="_blank">RUN</a></code>.
30
+
We will also see how to use the <code><ahref="http://docs.docker.io/en/latest/reference/commandline/cli/#build" target="_blank">docker build</a></code> command and how to specify the <ahref="http://docs.docker.io/en/latest/reference/builder/#maintainer" target="_blank">maintainer</a> of the Dockerfile and how to insert comments.
31
31
</p>
32
32
33
33
<h3>Dockerfile instructions</h3>
@@ -58,7 +58,7 @@ <h3>The FROM instruction</h3>
58
58
<pre>FROM ubuntu</pre>
59
59
<p>
60
60
In this example, we chose ubuntu as our base image. ubuntu is a “General use Ubuntu base image” provided by the Docker team.
61
-
You can find a list of available images from the command line by using the <ahref="http://docs.docker.io/en/latest/commandline/cli/#search" target="_blank">docker search</a> command.<br/>
61
+
You can find a list of available images from the command line by using the <ahref="http://docs.docker.io/en/latest/reference/commandline/cli/#search" target="_blank">docker search</a> command.<br/>
62
62
Example:
63
63
</p>
64
64
<preclass="terminal">
@@ -86,7 +86,7 @@ <h3>The FROM instruction</h3>
86
86
FROM centos
87
87
</pre>
88
88
<p>
89
-
You can also browse available images from Docker and the community online: <ahref="http://index.docker.io" target="_blank">index.docker.io</a>
89
+
You can also browse available images from Docker and the community online: <ahref="https://index.docker.io" target="_blank">index.docker.io</a>
90
90
</p>
91
91
<h3>The RUN instruction</h3>
92
92
<p>
@@ -484,7 +484,7 @@ <h4>Fill the Dockerfile</h4>
484
484
</div>
485
485
486
486
<divclass="alert alert-success" id="dockerfile_ok" style="display:none;">Congratulations, you successfully restored Eric's Dockerfile! You are ready to containerize the world!.<br/>
487
-
Tell the world! <ahref="https://twitter.com/share" class="twitter-share-button" data-url="http://www.docker.io/learn/dockerfile/level1/" data-text="I just successfully completed the 'Fill the Dockerfile' challenge of the #Dockerfile tutorial Level 1" data-via="docker" >Tweet</a>
487
+
Tell the world! <ahref="https://twitter.com/share" class="twitter-share-button" data-url="https://www.docker.io/learn/dockerfile/level1/" data-text="I just successfully completed the 'Fill the Dockerfile' challenge of the #Dockerfile tutorial Level 1" data-via="docker" >Tweet</a>
488
488
</div>
489
489
<divclass="alert alert-error" id="dockerfile_ko" style="display:none;">Wooops, there are one or more errors in the Dockerfile. Try again.</div>
490
490
<buttonclass="btn btn-primary" id="check_level1_fill">Check the Dockerfile</button></p>
0 commit comments