Skip to content

Commit

Permalink
Merge pull request #26122 from sfsmithcha/updates_for_new_plugin_docs
Browse files Browse the repository at this point in the history
some fixes to clean up new plugin system docs
(cherry picked from commit c1b82df)

Signed-off-by: Charles Smith <[email protected]>
  • Loading branch information
vdemeester authored and sfsmithcha committed Sep 6, 2016
1 parent abe05f4 commit 9c2b789
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 29 deletions.
6 changes: 3 additions & 3 deletions docs/extend/plugins.md → docs/extend/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
aliases = [
"/engine/extend/"
]
title = "New Plugin System"
description = "How to operate and create a plugin with the new system"
title = "Managed plugin system"
description = "How develop and use a plugin with the managed plugin system"
keywords = ["API, Usage, plugins, documentation, developer"]
advisory = "experimental"
[menu.main]
Expand All @@ -13,7 +13,7 @@ weight=1
+++
<![end-metadata]-->

# Docker Engine plugin system
# Docker Engine managed plugin system

This document describes the plugin system available today in the **experimental
build** of Docker 1.12:
Expand Down
11 changes: 6 additions & 5 deletions docs/extend/legacy_plugins.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!--[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"
keywords = ["Examples, Usage, plugins, docker, documentation, user guide"]
[menu.main]
Expand All @@ -9,19 +10,19 @@ weight=3
+++
<![end-metadata]-->

# Understand legacy Docker Engine plugins
# Use Docker Engine plugins

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, refer to [Docker Engine plugin system](plugins.md).
Engine. To view information on plugins managed by Docker Engine currently in
experimental status, refer to [Docker Engine plugin system](index.md).

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
volume and network plugins for Docker.

## 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
volumes to persist across multiple Docker hosts and a
[network plugin](plugins_network.md) might provide network plumbing.
Expand Down
11 changes: 3 additions & 8 deletions docs/extend/menu.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--[metadata]>
+++
title = "Extend Docker"
description = "How to extend Docker Engine with plugins"
title = "Implement plugins"
description = "Develop plugins and use existing plugins for Docker Engine"
keywords = ["extend, plugins, docker, documentation, developer"]
type="menu"
[menu.main]
Expand All @@ -12,9 +12,4 @@ weight = 0
<![end-metadata]-->


## New Docker Plugin System

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)
<!--menu page not rendered-->
6 changes: 3 additions & 3 deletions docs/extend/plugin_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ weight=7
Docker plugins are out-of-process extensions which add capabilities to the
Docker Engine.

This document describes the Docker Engine plugin API generally available in
Docker Engine 1.12 and earlier. To view information on plugins managed by Docker
Engine, refer to [Docker Engine plugin system](plugins.md).
This document describes the Docker Engine plugin API. To view information on
plugins managed by Docker Engine currently in experimental status, refer to
[Docker Engine plugin system](index.md).

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
Expand Down
6 changes: 3 additions & 3 deletions docs/extend/plugins_authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ weight = 4

# Create an authorization plugin

This document describes Docker Engine authorization plugins generally
available in Docker Engine 1.12 and earlier. To view information on plugins
managed by Docker Engine, refer to [Docker Engine plugin system](plugins.md).
This document describes the Docker Engine plugins generally available in Docker
Engine. To view information on plugins managed by Docker Engine currently in
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
permission to access the Docker daemon can run any Docker client command. The
Expand Down
6 changes: 3 additions & 3 deletions docs/extend/plugins_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ weight=5
# Engine network driver plugins

This document describes Docker Engine network driver plugins generally
available in Docker Engine 1.12 and earlier. To view information on plugins
managed by Docker Engine, refer to [Docker Engine plugin system](plugins.md).
available in Docker Engine. To view information on plugins
managed by Docker Engine, refer to [Docker Engine plugin system](index.md).

Docker Engine network plugins enable Engine deployments to be extended to
support a wide range of networking technologies, such as VXLAN, IPVLAN, MACVLAN
Expand Down Expand Up @@ -46,7 +46,7 @@ commands. For example,

$ 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
referring to that network will be sent to the plugin,
Expand Down
4 changes: 2 additions & 2 deletions docs/extend/plugins_volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ weight=6

Docker Engine volume plugins enable Engine deployments to be integrated with
external storage systems, such as Amazon EBS, and enable data volumes to persist
beyond the lifetime of a single Engine host. See the [plugin
documentation](plugins.md) for more information.
beyond the lifetime of a single Engine host. See the
[plugin documentation](legacy_plugins.md) for more information.

## Changelog

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/dockervolumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ $ docker run -d -P \
```

A list of available plugins, including volume plugins, is available
[here](../extend/plugins.md).
[here](../extend/legacy_plugins.md).

### Volume labels

Expand Down
2 changes: 1 addition & 1 deletion docs/userguide/networking/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
different plugins may make use of different technologies or frameworks. Custom
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).

### Docker embedded DNS server
Expand Down

0 comments on commit 9c2b789

Please sign in to comment.