Skip to content

Commit 6edf3d1

Browse files
committed
Fixed a couple of links broken by changes in docs.
1 parent 2f53209 commit 6edf3d1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

dockerfile_tutorial/templates/dockerfile/level1.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ <h1>Dockerfile tutorial</h1>
2626
<h2>Level 1 - FROM, RUN, #, MAINTAINER</h2>
2727

2828
<p>
29-
In this section we will cover the most important instructions: <code><a href="http://docs.docker.io/en/latest/use/builder/#from" target="_blank">FROM</a></code> and <code><a href="http://docs.docker.io/en/latest/use/builder/#run" target="_blank">RUN</a></code>.
30-
We will also see how to use the <code><a href="http://docs.docker.io/en/latest/commandline/cli/#build" target="_blank">docker build</a></code> command and how to specify the <a href="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><a href="http://docs.docker.io/en/latest/reference/builder/#from" target="_blank">FROM</a></code> and <code><a href="http://docs.docker.io/en/latest/reference/builder/#run" target="_blank">RUN</a></code>.
30+
We will also see how to use the <code><a href="http://docs.docker.io/en/latest/reference/commandline/cli/#build" target="_blank">docker build</a></code> command and how to specify the <a href="http://docs.docker.io/en/latest/reference/builder/#maintainer" target="_blank">maintainer</a> of the Dockerfile and how to insert comments.
3131
</p>
3232

3333
<h3>Dockerfile instructions</h3>
@@ -58,7 +58,7 @@ <h3>The FROM instruction</h3>
5858
<pre>FROM ubuntu</pre>
5959
<p>
6060
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 <a href="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 <a href="http://docs.docker.io/en/latest/reference/commandline/cli/#search" target="_blank">docker search</a> command.<br />
6262
Example:
6363
</p>
6464
<pre class="terminal">
@@ -86,7 +86,7 @@ <h3>The FROM instruction</h3>
8686
FROM centos
8787
</pre>
8888
<p>
89-
You can also browse available images from Docker and the community online: <a href="http://index.docker.io" target="_blank">index.docker.io</a>
89+
You can also browse available images from Docker and the community online: <a href="https://index.docker.io" target="_blank">index.docker.io</a>
9090
</p>
9191
<h3>The RUN instruction</h3>
9292
<p>
@@ -484,7 +484,7 @@ <h4>Fill the Dockerfile</h4>
484484
</div>
485485

486486
<div class="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! <a href="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! <a href="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>
488488
</div>
489489
<div class="alert alert-error" id="dockerfile_ko" style="display:none;">Wooops, there are one or more errors in the Dockerfile. Try again.</div>
490490
<button class="btn btn-primary" id="check_level1_fill">Check the Dockerfile</button></p>
@@ -499,7 +499,6 @@ <h3>What's next?</h3>
499499

500500
</div>
501501
</div>
502-
<!--<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>-->
503502

504503
</div>
505504
</div> <!-- endblock container -->

0 commit comments

Comments
 (0)