Merge branch 'master' of github.com:docker/toolbox

This commit is contained in:
Jeffrey Morgan 2015-07-13 16:07:38 -07:00
commit 74bdf8cd53
5 changed files with 64 additions and 20 deletions

View File

@ -2,7 +2,6 @@ baseurl = "https://toolbox.docker.com"
languageCode = "en-us" languageCode = "en-us"
title = "Docker Toolbox" title = "Docker Toolbox"
author = "Sean Li" author = "Sean Li"
copyright = "Copyright (c) 2015, Docker Inc."
canonifyurls = true canonifyurls = true
paginate = 3 paginate = 3

View File

@ -28,12 +28,12 @@
</div> </div>
<div id="about" class="content"> <div id="about" class="content">
<div class="wrapper-details"> <div class="wrapper-details">
<h2>What's in the box?</h2> <h2>What's in the toolbox?</h2>
<div class="items"> <div class="items">
<div class="item"> <div class="item">
<div class="info"> <div class="info">
<img src="{{.Site.BaseURL}}/images/engine.png"> <img src="{{.Site.BaseURL}}/images/engine.png">
<h3>Docker Client + Engine</h3> <h3>Docker Engine</h3>
<p>Creates and runs Docker containers.</p> <p>Creates and runs Docker containers.</p>
</div> </div>
</div> </div>
@ -41,14 +41,14 @@
<div class="info"> <div class="info">
<img src="{{.Site.BaseURL}}/images/machine.png"> <img src="{{.Site.BaseURL}}/images/machine.png">
<h3>Docker Machine</h3> <h3>Docker Machine</h3>
<p>Automatic Docker provisioning.</p> <p>Provisions Docker to local or remote machines.</p>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="info"> <div class="info">
<img src="{{.Site.BaseURL}}/images/compose.png"> <img src="{{.Site.BaseURL}}/images/compose.png">
<h3>Docker Compose</h3> <h3>Docker Compose</h3>
<p>Define multi-container applications.</p> <p>Define multi-container applications. (Mac OS X only)</p>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
@ -70,7 +70,7 @@
</div> </div>
<div id="documentation" class="content blue center"> <div id="documentation" class="content blue center">
<div class="documentation"> <div class="documentation">
<h3>Get started with Docker from tutorials.</h3> <h3>Choose a path to get started.</h3>
<div class="cta"> <div class="cta">
<a href="#" target="_blank" class="btn docs-link">New to Docker</a> <a href="#" target="_blank" class="btn docs-link">New to Docker</a>
<a href="#" target="_blank" class="btn docs-exp-link">Already Using Docker</a> <a href="#" target="_blank" class="btn docs-exp-link">Already Using Docker</a>
@ -83,33 +83,39 @@
<div class="qnas"> <div class="qnas">
<div class="qna"> <div class="qna">
<div class="question"> <div class="question">
<h3>I already use boot2docker. How do I migrate to using machine in Docker Toolbox?</h3> <h3>I already use Boot2Docker. How do I migrate my existing VMs to Docker Machine management?</h3>
</div> </div>
<div class="answer"> <div class="answer">
<p> <p>
To migrate from boot2docker to Docker machine, please type the following command in your terminal: To migrate a VM name <code>boot2docker-vm</code> from Boot2Docker to Docker Machine, please type the following command in your terminal:
</p> </p>
<ol>
<li>Open a terminal or the Docker CLI on your system.</li>
<li>Type the following command.<br>
<pre>docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm docker-vm</pre> <pre>docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm docker-vm</pre>
</li>
<li>Use the <code>docker-machine</code> command to interact with the migrated VM. </li>
</ol>
<p> <p>
The Docker machine command-line interface (CLI) is slightly different than the boot2docker CLI. The Docker Machine command-line interface (CLI) is slightly different than the Boot2Docker CLI.
Please see the <a href="https://github.com/docker/machine/blob/master/experimental/b2d_migration.md#command-comparison" target="_blank">command comparison docs</a> Please see the <a href="http://docker-manthony.s3-website-us-east-1.amazonaws.com/installation/mac/#migrate-from-boot2docker-to-docker-machine" target="_blank">command comparison docs</a>
for differences. for differences.
</p> </p>
<p> <p>
If you are still having trouble, please visit the full If you are still having trouble, please visit the full
<a href="https://github.com/docker/machine/blob/master/experimental/b2d_migration.md" target="_blank">boot2docker migration docs</a> <a href="http://docker-manthony.s3-website-us-east-1.amazonaws.com/installation/mac/#migrate-from-boot2docker-to-docker-machine" target="_blank">boot2docker migration docs</a>
or file an issue on <a href="https://github.com/docker/toolbox" target="_blank">Github</a>. or file an issue on <a href="https://github.com/docker/toolbox" target="_blank">Github</a>.
</p> </p>
</div> </div>
</div> </div>
<div class="qna"> <div class="qna">
<div class="question"> <div class="question">
<h3>I've created a new virtual machine from Docker machine. Where did my old containers and images go?</h3> <h3>I've created a new virtual machine from Docker Machine. Where did my old containers and images go?</h3>
</div> </div>
<div class="answer"> <div class="answer">
<p> <p>
Docker Toolbox includes a tool called Docker machine, and it creates new and separate virtual machines (VM) from your old boot2docker VM. Docker Toolbox includes a tool called Docker machine, and it creates new and separate virtual machines (VM) from your old Boot2Docker VM.
Your old containers and images are still in the old boot2docker VM and are not lost. You can migrate your boot2docker VM to Your old containers and images are still in the old Boot2Docker VM and are not lost. You can migrate your Boot2Docker VM to
machine by typing in the command in the previous Q&amp;A. machine by typing in the command in the previous Q&amp;A.
</div> </div>
</div> </div>

View File

@ -11,7 +11,7 @@
</div> </div>
</div> </div>
<div class="copyright"> <div class="copyright">
{{.Site.Copyright}} Copyright &copy; 2015, Docker Inc.
</div> </div>
</div> </div>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>

View File

@ -424,10 +424,28 @@ p {
p strong { p strong {
font-weight: 700; font-weight: 700;
} }
ol {
font-size: 1.2rem;
line-height: 1.7rem;
margin-bottom: 1rem;
margin-left: 1.8rem;
}
ol li {
list-style-type: decimal;
margin-bottom: 1rem;
}
pre { pre {
border-radius: 0.3rem; border-radius: 0.3rem;
padding: 0.5rem; padding: 0.2rem 0.5rem;
margin-bottom: 1rem; display: inline-block;
font-size: 1rem;
font-family: Menlo, monospace;
color: #24b8eb;
background-color: rgba(36, 184, 235, 0.05);
}
code {
border-radius: 0.3rem;
padding: 0.2rem 0.5rem;
display: inline-block; display: inline-block;
font-size: 1rem; font-size: 1rem;
font-family: Menlo, monospace; font-family: Menlo, monospace;

View File

@ -286,10 +286,31 @@ p {
} }
} }
ol {
font-size: 1.2rem;
line-height: 1.7rem;
margin-bottom: 1rem;
margin-left: 1.8rem;
li {
list-style-type: decimal;
margin-bottom: 1rem;
}
}
pre { pre {
border-radius: 0.3rem; border-radius: 0.3rem;
padding: 0.5rem; padding: 0.2rem 0.5rem;
margin-bottom: 1rem; //margin-bottom: 1rem;
display: inline-block;
font-size: 1rem;
font-family: Menlo, monospace;
color: @brand-primary;
background-color: fade(@brand-primary, 5%);
}
code {
border-radius: 0.3rem;
padding: 0.2rem 0.5rem;
display: inline-block; display: inline-block;
font-size: 1rem; font-size: 1rem;
font-family: Menlo, monospace; font-family: Menlo, monospace;