mirror of https://github.com/docker/docs.git
Merge branch 'master' of https://www.github.com/docker/docker.github.io
This commit is contained in:
commit
466e65dd56
|
@ -15,7 +15,6 @@ exclude:
|
|||
|
||||
gems:
|
||||
- jekyll-redirect-from
|
||||
- jekyll-sitemap
|
||||
- jekyll-gist
|
||||
|
||||
defaults:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: Resizing a Boot2Docker volume in VirtualBox with GParted
|
||||
draft: "true"
|
||||
published: false
|
||||
keywords:
|
||||
- boot2docker, volume, virtualbox
|
||||
menu:
|
||||
|
|
|
@ -23,7 +23,7 @@ see [Feature Deprecation Policy](index.md#feature-deprecation-policy).
|
|||
|
||||
**Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
|
||||
|
||||
The `docker import` command format 'file|URL|- [REPOSITORY [TAG]]' is deprecated since November 2013. It's no more supported.
|
||||
The `docker import` command format `file|URL|- [REPOSITORY [TAG]]` is deprecated since November 2013. It's no more supported.
|
||||
|
||||
### `-h` shorthand for `--help`
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
draft: true
|
||||
published: false
|
||||
---
|
||||
|
||||
This directory holds the authoritative specifications of APIs defined and implemented by Docker. Currently this includes:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: API Documentation for the Docker Hub API
|
||||
draft: true
|
||||
published: false
|
||||
keywords:
|
||||
- API, Docker, index, REST, documentation, Docker Hub, registry
|
||||
menu:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: API Documentation for Docker
|
||||
draft: true
|
||||
published: false
|
||||
keywords:
|
||||
- API, Docker, rcli, REST, documentation
|
||||
menu:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: Documentation for docker Registry and Registry API
|
||||
draft: true
|
||||
published: false
|
||||
keywords:
|
||||
- docker, registry, api, hub
|
||||
menu:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
draft: true
|
||||
published: false
|
||||
---
|
||||
|
||||
This is an initial attempt to make it easier to test the examples in the https.md
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
draft: true
|
||||
published: false
|
||||
---
|
||||
|
||||
Static files dir
|
||||
|
|
|
@ -74,7 +74,9 @@ run on the assigned node or fail.
|
|||
The swarm manager uses **ingress load balancing** to expose the services you
|
||||
want to make available externally to the swarm. The swarm manager can
|
||||
automatically assign the service a **PublishedPort** or you can configure a
|
||||
PublishedPort for the service in the 30000-32767 range.
|
||||
PublishedPort for the service. You can specify any unused port. If you do not
|
||||
specify a port, the swarm manager assigns the service a port in the 30000-32767
|
||||
range.
|
||||
|
||||
External components, such as cloud load balancers, can access the service on the
|
||||
PublishedPort of any node in the cluster whether or not the node is currently
|
||||
|
|
|
@ -29,6 +29,7 @@ Docker will go set `ip_forward` to `1` for you when the server starts up. If you
|
|||
set `--ip-forward=false` and your system's kernel has it enabled, the
|
||||
`--ip-forward=false` option has no effect. To check the setting on your kernel
|
||||
or to turn it on manually:
|
||||
|
||||
```
|
||||
$ sysctl net.ipv4.conf.all.forwarding
|
||||
|
||||
|
|
|
@ -314,10 +314,10 @@ assumes that the Docker daemon is in the `stopped` state.
|
|||
|
||||
14. Configure the Docker daemon with specific devicemapper options.
|
||||
|
||||
There are two ways to do this. You can set options on the command line if you start the daemon there:
|
||||
Now that your storage is configured, configure the Docker daemon to use it. There are two ways to do this. You can set options on the command line if you start the daemon there:
|
||||
|
||||
```bash
|
||||
--storage-driver=devicemapper --storage-opt=dm.thinpooldev=/dev/mapper/docker-thinpool --storage-opt dm.use_deferred_removal=true
|
||||
--storage-driver=devicemapper --storage-opt=dm.thinpooldev=/dev/mapper/docker-thinpool --storage-opt=dm.use_deferred_removal=true --storage-opt=dm.use_deferred_deletion=true
|
||||
```
|
||||
|
||||
You can also set them for startup in the `daemon.json` configuration, for example:
|
||||
|
@ -327,11 +327,14 @@ assumes that the Docker daemon is in the `stopped` state.
|
|||
"storage-driver": "devicemapper",
|
||||
"storage-opts": [
|
||||
"dm.thinpooldev=/dev/mapper/docker-thinpool",
|
||||
"dm.use_deferred_removal=true"
|
||||
"dm.use_deferred_removal=true",
|
||||
"dm.use_deferred_deletion=true"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
>**Note**: Always set both `dm.use_deferred_removal=true` and `dm.use_deferred_deletion=true` to prevent unintentionally leaking mount points.
|
||||
|
||||
15. If using systemd and modifying the daemon configuration via unit or drop-in file, reload systemd to scan for changes.
|
||||
|
||||
```bash
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
google-site-verification: googlecbe7fee896be512c.html
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: machine
|
||||
draft: true
|
||||
published: false
|
||||
keywords:
|
||||
- machine, orchestration, install, installation, docker, documentation
|
||||
menu:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
draft: true
|
||||
published: false
|
||||
---
|
||||
|
||||
# Docker Machine Release Process
|
||||
|
|
|
@ -28,36 +28,36 @@ If you are an experienced open source contributor you may be familiar with this
|
|||
workflow. If you are new or just need reminders, the steps below link to more
|
||||
detailed documentation in Docker's project contributors guide.
|
||||
|
||||
1. <a href="http://docs.docker.com/project/software-required/"
|
||||
1. <a href="http://docs.docker.com/opensource/project/software-required/"
|
||||
target="_blank">Get the software</a> you need.
|
||||
|
||||
This explains how to install a couple of tools used in our development
|
||||
environment. What you need (or don't need) might surprise you.
|
||||
|
||||
2. <a href="http://docs.docker.com/project/set-up-git/"
|
||||
2. <a href="http://docs.docker.com/opensource/project/set-up-git/"
|
||||
target="_blank">Configure Git and fork the repo</a>.
|
||||
|
||||
Your Git configuration can make it easier for you to contribute.
|
||||
Configuration is especially key if are new to contributing or to Docker.
|
||||
|
||||
3. <a href="http://docs.docker.com/project/set-up-dev-env/"
|
||||
3. <a href="http://docs.docker.com/opensource/project/set-up-dev-env/"
|
||||
target="_blank">Learn to work with the Docker development container</a>.
|
||||
|
||||
Docker developers run `docker` in `docker`. If you are a geek,
|
||||
this is a pretty cool experience.
|
||||
4. <a href="http://docs.docker.com/project/find-an-issue/"
|
||||
4. <a href="http://docs.docker.com/opensource/workflow/find-an-issue/"
|
||||
target="_blank">Claim an issue</a> to work on.
|
||||
|
||||
We created a filter listing <a href="http://goo.gl/Hsp2mk" target="_blank">all open
|
||||
and unclaimed issues</a> for Docker.
|
||||
|
||||
5. <a
|
||||
href="http://docs.docker.com/project/work-issue/" target="_blank">Work on the
|
||||
href="http://docs.docker.com/opensource/workflow/work-issue/" target="_blank">Work on the
|
||||
issue</a>.
|
||||
|
||||
If you change or add code or docs to a project, you should test your changes
|
||||
as you work. This page explains <a
|
||||
href="http://docs.docker.com/project/test-and-docs/" target="_blank">how to
|
||||
href="http://docs.docker.com/opensource/project/test-and-docs/" target="_blank">how to
|
||||
test in our development environment</a>.
|
||||
|
||||
Also, remember to always **sign your commits** as you work! To sign your
|
||||
|
@ -68,7 +68,7 @@ issue</a>.
|
|||
If you don't sign <a href="https://twitter.com/gordontheturtle"
|
||||
target="_blank">Gordon</a> will get you!
|
||||
|
||||
6. <a href="http://docs.docker.com/project/create-pr/" target="_blank">Create a
|
||||
6. <a href="http://docs.docker.com/opensource/workflow/create-pr/" target="_blank">Create a
|
||||
pull request</a>.
|
||||
|
||||
If you make a change to fix an issue, add reference to the issue in the pull
|
||||
|
@ -81,6 +81,6 @@ pull request</a>.
|
|||
needs](code.md#what-is-the-pre-pull-request-checklist).
|
||||
|
||||
|
||||
7. <a href="http://docs.docker.com/project/review-pr/"
|
||||
7. <a href="http://docs.docker.com/opensource/workflow/review-pr/"
|
||||
target="_blank">Participate in the pull request review</a> till a successful
|
||||
merge.
|
||||
|
|
|
@ -33,7 +33,7 @@ community members and developers.
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Internet Relay Chat (IRC)</th>
|
||||
<td>Internet Relay Chat (IRC)</td>
|
||||
<td>
|
||||
<p>
|
||||
IRC a direct line to our most knowledgeable Docker users.
|
||||
|
@ -76,11 +76,11 @@ platforms.
|
|||
Using Webchat from Freenode.net is a quick and easy way to get chatting. To
|
||||
register:
|
||||
|
||||
1. In your browser open <a href="https://webchat.freenode.net" target="_blank">https://webchat.freenode.net</a>
|
||||
1. In your browser open <a href="https://webchat.freenode.net" target="_blank">https://webchat.freenode.net</a>
|
||||
|
||||

|
||||
|
||||
2. Fill out the form.
|
||||
2. Fill out the form.
|
||||
|
||||
<table class="no-zebra" style="width: auto">
|
||||
<tr>
|
||||
|
@ -97,7 +97,7 @@ register:
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
3. Click on the "Connect" button.
|
||||
3. Click on the "Connect" button.
|
||||
|
||||
The browser connects you to Webchat. You'll see a lot of text. At the bottom of
|
||||
the Webchat web page is a command line bar. Just above the command line bar
|
||||
|
@ -105,10 +105,12 @@ register:
|
|||
|
||||

|
||||
|
||||
4. Register your nickname by entering the following command in the
|
||||
4. Register your nickname by entering the following command in the
|
||||
command line bar:
|
||||
|
||||
/msg NickServ REGISTER yourpassword youremail@example.com
|
||||
```
|
||||
/msg NickServ REGISTER yourpassword youremail@example.com
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
@ -120,14 +122,15 @@ command line bar:
|
|||
that you provided. This email will contain instructions for completing
|
||||
your registration.
|
||||
|
||||
5. Open your email client and look for the email.
|
||||
5. Open your email client and look for the email.
|
||||
|
||||

|
||||
|
||||
6. Back in the browser, complete the registration according to the email
|
||||
by entering the following command into the webchat command line bar:
|
||||
6. Back in the browser, complete the registration according to the email by entering the following command into the webchat command line bar:
|
||||
|
||||
/msg NickServ VERIFY REGISTER yournickname somecode
|
||||
```
|
||||
/msg NickServ VERIFY REGISTER yournickname somecode
|
||||
```
|
||||
|
||||
Your nickname is now registered to chat on freenode.net.
|
||||
|
||||
|
@ -139,24 +142,24 @@ IRCCloud is a web-based IRC client service that is hosted in the cloud. This is
|
|||
a Freemium product, meaning the free version is limited and you can pay for more
|
||||
features. To use IRCCloud:
|
||||
|
||||
1. Select the following link:
|
||||
1. Select the following link:
|
||||
<a href="https://www.irccloud.com/invite?channel=%23docker&hostname=chat.freenode.net&port=6697" target="_blank">Join the #docker channel on chat.freenode.net</a>
|
||||
|
||||
The following web page is displayed in your browser:
|
||||
|
||||

|
||||
|
||||
2. If this is your first time using IRCCloud enter a valid email address in the
|
||||
2. If this is your first time using IRCCloud enter a valid email address in the
|
||||
form. People who have already registered with IRCCloud can select the "sign in
|
||||
here" link. Additionally, people who are already registered with IRCCloud may
|
||||
have a cookie stored on their web browser that enables a quick start "let's go"
|
||||
link to be shown instead of the above form. In this case just select the
|
||||
"let's go" link and [jump ahead to start chatting](get-help.md#start-chatting)
|
||||
|
||||
3. After entering your email address in the form, check your email for an invite
|
||||
3. After entering your email address in the form, check your email for an invite
|
||||
from IRCCloud and follow the instructions provided in the email.
|
||||
|
||||
4. After following the instructions in your email you should have an IRCCloud
|
||||
4. After following the instructions in your email you should have an IRCCloud
|
||||
Client web page in your browser:
|
||||
|
||||

|
||||
|
@ -164,20 +167,24 @@ Client web page in your browser:
|
|||
The message shown above may appear indicating that you need to register your
|
||||
nickname.
|
||||
|
||||
5. To register your nickname enter the following message into the command line bar
|
||||
5. To register your nickname enter the following message into the command line bar
|
||||
at the bottom of the IRCCloud Client:
|
||||
|
||||
/msg NickServ REGISTER yourpassword youremail@example.com
|
||||
```
|
||||
/msg NickServ REGISTER yourpassword youremail@example.com
|
||||
```
|
||||
|
||||
This command line bar is for chatting and entering in IRC commands.
|
||||
|
||||
6. Check your email for an invite to freenode.net:
|
||||
6. Check your email for an invite to freenode.net:
|
||||
|
||||

|
||||
|
||||
7. Back in the browser, complete the registration according to the email.
|
||||
7. Back in the browser, complete the registration according to the email.
|
||||
|
||||
/msg NickServ VERIFY REGISTER yournickname somecode
|
||||
```
|
||||
/msg NickServ VERIFY REGISTER yournickname somecode
|
||||
```
|
||||
|
||||
## Tips
|
||||
|
||||
|
@ -188,7 +195,7 @@ The procedures in this section apply to both IRC clients.
|
|||
Next time you return to log into chat, you may need to re-enter your password
|
||||
on the command line using this command:
|
||||
|
||||
/msg NickServ identify <password>
|
||||
/msg NickServ identify <password>
|
||||
|
||||
With Webchat if you forget or lose your password you'll need to join the
|
||||
`#freenode` channel and request them to reset it for you.
|
||||
|
@ -198,17 +205,17 @@ With Webchat if you forget or lose your password you'll need to join the
|
|||
Join the `#docker` group using the following command in the command line bar of
|
||||
your IRC Client:
|
||||
|
||||
/j #docker
|
||||
/j #docker
|
||||
|
||||
You can also join the `#docker-dev` group:
|
||||
|
||||
/j #docker-dev
|
||||
/j #docker-dev
|
||||
|
||||
### Start chatting
|
||||
|
||||
To ask questions to the group just type messages in the command line bar:
|
||||
|
||||

|
||||

|
||||
|
||||
## Learning more about IRC
|
||||
|
||||
|
|
|
@ -110,7 +110,6 @@ The following table describes the kind labels.
|
|||
The following table describes the experience level guidelines.
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Exp Label</th>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
draft: true
|
||||
published: false
|
||||
---
|
||||
|
||||
# Architecture
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
draft: true
|
||||
published: false
|
||||
---
|
||||
|
||||
# Glossary
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
draft: true
|
||||
published: false
|
||||
---
|
||||
|
||||
# Migrating a 1.0 registry to 2.0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
draft: true
|
||||
published: false
|
||||
---
|
||||
|
||||
# Distribution API Implementations
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
description: Explains registry JSON objects
|
||||
draft: true
|
||||
published: false
|
||||
keywords:
|
||||
- registry, service, images, repository, json
|
||||
menu:
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
|
||||
User-agent: *
|
||||
Disallow: /
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
layout: null
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset
|
||||
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||
|
||||
<url>
|
||||
<loc>https://docs.docker.com/</loc>
|
||||
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
||||
</url>
|
||||
{% for page in site.pages %}<url>
|
||||
<loc>https://docs.docker.com{{ page.url }}</loc>
|
||||
<lastmod>{% if page.date %}{{ page.date | date_to_xmlschema }}{% else %}{{ site.time | date_to_xmlschema }}{% endif %}</lastmod>
|
||||
</url>{% endfor %}
|
||||
</urlset>
|
Loading…
Reference in New Issue