зеркало из https://github.com/microsoft/docker.git
some fixes to clean up new plugin system docs
Signed-off-by: Charles Smith <charles.smith@docker.com>
This commit is contained in:
Родитель
bf3d017f08
Коммит
1dee308281
|
@ -3,8 +3,8 @@
|
||||||
aliases = [
|
aliases = [
|
||||||
"/engine/extend/"
|
"/engine/extend/"
|
||||||
]
|
]
|
||||||
title = "New Plugin System"
|
title = "Managed plugin system"
|
||||||
description = "How to operate and create a plugin with the new system"
|
description = "How develop and use a plugin with the managed plugin system"
|
||||||
keywords = ["API, Usage, plugins, documentation, developer"]
|
keywords = ["API, Usage, plugins, documentation, developer"]
|
||||||
advisory = "experimental"
|
advisory = "experimental"
|
||||||
[menu.main]
|
[menu.main]
|
||||||
|
@ -13,7 +13,7 @@ weight=1
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Docker Engine plugin system
|
# Docker Engine managed plugin system
|
||||||
|
|
||||||
This document describes the plugin system available today in the **experimental
|
This document describes the plugin system available today in the **experimental
|
||||||
build** of Docker 1.12:
|
build** of Docker 1.12:
|
|
@ -1,6 +1,7 @@
|
||||||
<!--[metadata]>
|
<!--[metadata]>
|
||||||
+++
|
+++
|
||||||
title = "Extending Engine with plugins"
|
aliases = "/engine/extend/plugins/"
|
||||||
|
title = "Use Docker Engine plugins"
|
||||||
description = "How to add additional functionality to Docker with plugins extensions"
|
description = "How to add additional functionality to Docker with plugins extensions"
|
||||||
keywords = ["Examples, Usage, plugins, docker, documentation, user guide"]
|
keywords = ["Examples, Usage, plugins, docker, documentation, user guide"]
|
||||||
[menu.main]
|
[menu.main]
|
||||||
|
@ -9,11 +10,11 @@ weight=3
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Understand legacy Docker Engine plugins
|
# Use Docker Engine plugins
|
||||||
|
|
||||||
This document describes the Docker Engine plugins generally available in Docker
|
This document describes the Docker Engine plugins generally available in Docker
|
||||||
Engine 1.12 and earlier. To view information on plugins managed by Docker
|
Engine. To view information on plugins managed by Docker Engine currently in
|
||||||
Engine, refer to [Docker Engine plugin system](plugins.md).
|
experimental status, refer to [Docker Engine plugin system](index.md).
|
||||||
|
|
||||||
You can extend the capabilities of the Docker Engine by loading third-party
|
You can extend the capabilities of the Docker Engine by loading third-party
|
||||||
plugins. This page explains the types of plugins and provides links to several
|
plugins. This page explains the types of plugins and provides links to several
|
||||||
|
@ -21,7 +22,7 @@ volume and network plugins for Docker.
|
||||||
|
|
||||||
## Types of plugins
|
## Types of plugins
|
||||||
|
|
||||||
Plugins extend Docker's functionality. They come in specific types. For
|
Plugins extend Docker's functionality. They come in specific types. For
|
||||||
example, a [volume plugin](plugins_volume.md) might enable Docker
|
example, a [volume plugin](plugins_volume.md) might enable Docker
|
||||||
volumes to persist across multiple Docker hosts and a
|
volumes to persist across multiple Docker hosts and a
|
||||||
[network plugin](plugins_network.md) might provide network plumbing.
|
[network plugin](plugins_network.md) might provide network plumbing.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!--[metadata]>
|
<!--[metadata]>
|
||||||
+++
|
+++
|
||||||
title = "Extend Docker"
|
title = "Implement plugins"
|
||||||
description = "How to extend Docker Engine with plugins"
|
description = "Develop plugins and use existing plugins for Docker Engine"
|
||||||
keywords = ["extend, plugins, docker, documentation, developer"]
|
keywords = ["extend, plugins, docker, documentation, developer"]
|
||||||
type="menu"
|
type="menu"
|
||||||
[menu.main]
|
[menu.main]
|
||||||
|
@ -12,9 +12,4 @@ weight = 0
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
|
|
||||||
## New Docker Plugin System
|
<!--menu page not rendered-->
|
||||||
|
|
||||||
Currently, you can extend Docker Engine by adding a plugin. This section contains the following topics:
|
|
||||||
|
|
||||||
* [Understand Docker plugins](plugins.md)
|
|
||||||
* [Write a volume plugin](plugins_volume.md)
|
|
||||||
|
|
|
@ -14,9 +14,9 @@ weight=7
|
||||||
Docker plugins are out-of-process extensions which add capabilities to the
|
Docker plugins are out-of-process extensions which add capabilities to the
|
||||||
Docker Engine.
|
Docker Engine.
|
||||||
|
|
||||||
This document describes the Docker Engine plugin API generally available in
|
This document describes the Docker Engine plugin API. To view information on
|
||||||
Docker Engine 1.12 and earlier. To view information on plugins managed by Docker
|
plugins managed by Docker Engine currently in experimental status, refer to
|
||||||
Engine, refer to [Docker Engine plugin system](plugins.md).
|
[Docker Engine plugin system](index.md).
|
||||||
|
|
||||||
This page is intended for people who want to develop their own Docker plugin.
|
This page is intended for people who want to develop their own Docker plugin.
|
||||||
If you just want to learn about or use Docker plugins, look
|
If you just want to learn about or use Docker plugins, look
|
||||||
|
|
|
@ -13,9 +13,9 @@ weight = 4
|
||||||
|
|
||||||
# Create an authorization plugin
|
# Create an authorization plugin
|
||||||
|
|
||||||
This document describes Docker Engine authorization plugins generally
|
This document describes the Docker Engine plugins generally available in Docker
|
||||||
available in Docker Engine 1.12 and earlier. To view information on plugins
|
Engine. To view information on plugins managed by Docker Engine currently in
|
||||||
managed by Docker Engine, refer to [Docker Engine plugin system](plugins.md).
|
experimental status, refer to [Docker Engine plugin system](index.md).
|
||||||
|
|
||||||
Docker's out-of-the-box authorization model is all or nothing. Any user with
|
Docker's out-of-the-box authorization model is all or nothing. Any user with
|
||||||
permission to access the Docker daemon can run any Docker client command. The
|
permission to access the Docker daemon can run any Docker client command. The
|
||||||
|
|
|
@ -12,8 +12,8 @@ weight=5
|
||||||
# Engine network driver plugins
|
# Engine network driver plugins
|
||||||
|
|
||||||
This document describes Docker Engine network driver plugins generally
|
This document describes Docker Engine network driver plugins generally
|
||||||
available in Docker Engine 1.12 and earlier. To view information on plugins
|
available in Docker Engine. To view information on plugins
|
||||||
managed by Docker Engine, refer to [Docker Engine plugin system](plugins.md).
|
managed by Docker Engine, refer to [Docker Engine plugin system](index.md).
|
||||||
|
|
||||||
Docker Engine network plugins enable Engine deployments to be extended to
|
Docker Engine network plugins enable Engine deployments to be extended to
|
||||||
support a wide range of networking technologies, such as VXLAN, IPVLAN, MACVLAN
|
support a wide range of networking technologies, such as VXLAN, IPVLAN, MACVLAN
|
||||||
|
@ -46,7 +46,7 @@ commands. For example,
|
||||||
|
|
||||||
$ docker network create --driver weave mynet
|
$ docker network create --driver weave mynet
|
||||||
|
|
||||||
Some network driver plugins are listed in [plugins](plugins.md)
|
Some network driver plugins are listed in [plugins](legacy_plugins.md)
|
||||||
|
|
||||||
The `mynet` network is now owned by `weave`, so subsequent commands
|
The `mynet` network is now owned by `weave`, so subsequent commands
|
||||||
referring to that network will be sent to the plugin,
|
referring to that network will be sent to the plugin,
|
||||||
|
|
|
@ -13,8 +13,8 @@ weight=6
|
||||||
|
|
||||||
Docker Engine volume plugins enable Engine deployments to be integrated with
|
Docker Engine volume plugins enable Engine deployments to be integrated with
|
||||||
external storage systems, such as Amazon EBS, and enable data volumes to persist
|
external storage systems, such as Amazon EBS, and enable data volumes to persist
|
||||||
beyond the lifetime of a single Engine host. See the [plugin
|
beyond the lifetime of a single Engine host. See the
|
||||||
documentation](plugins.md) for more information.
|
[plugin documentation](legacy_plugins.md) for more information.
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,7 @@ $ docker run -d -P \
|
||||||
```
|
```
|
||||||
|
|
||||||
A list of available plugins, including volume plugins, is available
|
A list of available plugins, including volume plugins, is available
|
||||||
[here](../extend/plugins.md).
|
[here](../extend/legacy_plugins.md).
|
||||||
|
|
||||||
### Volume labels
|
### Volume labels
|
||||||
|
|
||||||
|
|
|
@ -537,7 +537,7 @@ built-in network drivers. For example:
|
||||||
You can inspect it, add containers to and from it, and so forth. Of course,
|
You can inspect it, add containers to and from it, and so forth. Of course,
|
||||||
different plugins may make use of different technologies or frameworks. Custom
|
different plugins may make use of different technologies or frameworks. Custom
|
||||||
networks can include features not present in Docker's default networks. For more
|
networks can include features not present in Docker's default networks. For more
|
||||||
information on writing plugins, see [Extending Docker](../../extend/plugins.md) and
|
information on writing plugins, see [Extending Docker](../../extend/legacy_plugins.md) and
|
||||||
[Writing a network driver plugin](../../extend/plugins_network.md).
|
[Writing a network driver plugin](../../extend/plugins_network.md).
|
||||||
|
|
||||||
### Docker embedded DNS server
|
### Docker embedded DNS server
|
||||||
|
|
Загрузка…
Ссылка в новой задаче