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:
|
gems:
|
||||||
- jekyll-redirect-from
|
- jekyll-redirect-from
|
||||||
- jekyll-sitemap
|
|
||||||
- jekyll-gist
|
- jekyll-gist
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
description: Resizing a Boot2Docker volume in VirtualBox with GParted
|
description: Resizing a Boot2Docker volume in VirtualBox with GParted
|
||||||
draft: "true"
|
published: false
|
||||||
keywords:
|
keywords:
|
||||||
- boot2docker, volume, virtualbox
|
- boot2docker, volume, virtualbox
|
||||||
menu:
|
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)**
|
**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`
|
### `-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:
|
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
|
description: API Documentation for the Docker Hub API
|
||||||
draft: true
|
published: false
|
||||||
keywords:
|
keywords:
|
||||||
- API, Docker, index, REST, documentation, Docker Hub, registry
|
- API, Docker, index, REST, documentation, Docker Hub, registry
|
||||||
menu:
|
menu:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
description: API Documentation for Docker
|
description: API Documentation for Docker
|
||||||
draft: true
|
published: false
|
||||||
keywords:
|
keywords:
|
||||||
- API, Docker, rcli, REST, documentation
|
- API, Docker, rcli, REST, documentation
|
||||||
menu:
|
menu:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
description: Documentation for docker Registry and Registry API
|
description: Documentation for docker Registry and Registry API
|
||||||
draft: true
|
published: false
|
||||||
keywords:
|
keywords:
|
||||||
- docker, registry, api, hub
|
- docker, registry, api, hub
|
||||||
menu:
|
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
|
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
|
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
|
The swarm manager uses **ingress load balancing** to expose the services you
|
||||||
want to make available externally to the swarm. The swarm manager can
|
want to make available externally to the swarm. The swarm manager can
|
||||||
automatically assign the service a **PublishedPort** or you can configure a
|
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
|
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
|
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
|
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
|
`--ip-forward=false` option has no effect. To check the setting on your kernel
|
||||||
or to turn it on manually:
|
or to turn it on manually:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sysctl net.ipv4.conf.all.forwarding
|
$ 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.
|
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
|
```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:
|
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-driver": "devicemapper",
|
||||||
"storage-opts": [
|
"storage-opts": [
|
||||||
"dm.thinpooldev=/dev/mapper/docker-thinpool",
|
"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.
|
15. If using systemd and modifying the daemon configuration via unit or drop-in file, reload systemd to scan for changes.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
google-site-verification: googlecbe7fee896be512c.html
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
description: machine
|
description: machine
|
||||||
draft: true
|
published: false
|
||||||
keywords:
|
keywords:
|
||||||
- machine, orchestration, install, installation, docker, documentation
|
- machine, orchestration, install, installation, docker, documentation
|
||||||
menu:
|
menu:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
draft: true
|
published: false
|
||||||
---
|
---
|
||||||
|
|
||||||
# Docker Machine Release Process
|
# 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
|
workflow. If you are new or just need reminders, the steps below link to more
|
||||||
detailed documentation in Docker's project contributors guide.
|
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.
|
target="_blank">Get the software</a> you need.
|
||||||
|
|
||||||
This explains how to install a couple of tools used in our development
|
This explains how to install a couple of tools used in our development
|
||||||
environment. What you need (or don't need) might surprise you.
|
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>.
|
target="_blank">Configure Git and fork the repo</a>.
|
||||||
|
|
||||||
Your Git configuration can make it easier for you to contribute.
|
Your Git configuration can make it easier for you to contribute.
|
||||||
Configuration is especially key if are new to contributing or to Docker.
|
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>.
|
target="_blank">Learn to work with the Docker development container</a>.
|
||||||
|
|
||||||
Docker developers run `docker` in `docker`. If you are a geek,
|
Docker developers run `docker` in `docker`. If you are a geek,
|
||||||
this is a pretty cool experience.
|
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.
|
target="_blank">Claim an issue</a> to work on.
|
||||||
|
|
||||||
We created a filter listing <a href="http://goo.gl/Hsp2mk" target="_blank">all open
|
We created a filter listing <a href="http://goo.gl/Hsp2mk" target="_blank">all open
|
||||||
and unclaimed issues</a> for Docker.
|
and unclaimed issues</a> for Docker.
|
||||||
|
|
||||||
5. <a
|
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>.
|
issue</a>.
|
||||||
|
|
||||||
If you change or add code or docs to a project, you should test your changes
|
If you change or add code or docs to a project, you should test your changes
|
||||||
as you work. This page explains <a
|
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>.
|
test in our development environment</a>.
|
||||||
|
|
||||||
Also, remember to always **sign your commits** as you work! To sign your
|
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"
|
If you don't sign <a href="https://twitter.com/gordontheturtle"
|
||||||
target="_blank">Gordon</a> will get you!
|
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>.
|
pull request</a>.
|
||||||
|
|
||||||
If you make a change to fix an issue, add reference to the issue in the pull
|
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).
|
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
|
target="_blank">Participate in the pull request review</a> till a successful
|
||||||
merge.
|
merge.
|
||||||
|
|
|
@ -33,7 +33,7 @@ community members and developers.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Internet Relay Chat (IRC)</th>
|
<td>Internet Relay Chat (IRC)</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
IRC a direct line to our most knowledgeable Docker users.
|
IRC a direct line to our most knowledgeable Docker users.
|
||||||
|
@ -108,7 +108,9 @@ 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:
|
command line bar:
|
||||||
|
|
||||||
|
```
|
||||||
/msg NickServ REGISTER yourpassword youremail@example.com
|
/msg NickServ REGISTER yourpassword youremail@example.com
|
||||||
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
@ -124,10 +126,11 @@ command line bar:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
6. Back in the browser, complete the registration according to 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:
|
||||||
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.
|
Your nickname is now registered to chat on freenode.net.
|
||||||
|
|
||||||
|
@ -167,7 +170,9 @@ Client web page in your browser:
|
||||||
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:
|
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.
|
This command line bar is for chatting and entering in IRC commands.
|
||||||
|
|
||||||
|
@ -177,7 +182,9 @@ at the bottom of the IRCCloud Client:
|
||||||
|
|
||||||
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
|
## Tips
|
||||||
|
|
||||||
|
@ -208,7 +215,7 @@ You can also join the `#docker-dev` group:
|
||||||
|
|
||||||
To ask questions to the group just type messages in the command line bar:
|
To ask questions to the group just type messages in the command line bar:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Learning more about IRC
|
## Learning more about IRC
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,6 @@ The following table describes the kind labels.
|
||||||
The following table describes the experience level guidelines.
|
The following table describes the experience level guidelines.
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Exp Label</th>
|
<th>Exp Label</th>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
draft: true
|
published: false
|
||||||
---
|
---
|
||||||
|
|
||||||
# Architecture
|
# Architecture
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
draft: true
|
published: false
|
||||||
---
|
---
|
||||||
|
|
||||||
# Glossary
|
# Glossary
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
draft: true
|
published: false
|
||||||
---
|
---
|
||||||
|
|
||||||
# Migrating a 1.0 registry to 2.0
|
# Migrating a 1.0 registry to 2.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
draft: true
|
published: false
|
||||||
---
|
---
|
||||||
|
|
||||||
# Distribution API Implementations
|
# Distribution API Implementations
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
description: Explains registry JSON objects
|
description: Explains registry JSON objects
|
||||||
draft: true
|
published: false
|
||||||
keywords:
|
keywords:
|
||||||
- registry, service, images, repository, json
|
- registry, service, images, repository, json
|
||||||
menu:
|
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