DockerCLI/experimental/plugins.md

1.9 KiB

Experimental: Extend Docker with a plugin

You can extend the capabilities of the Docker Engine by loading third-party plugins.

This is an experimental feature. For information on installing and using experimental features, see the experimental feature overview.

Types of plugins

Plugins extend Docker's functionality. They come in specific types. For example, a volume plugin might enable Docker volumes to persist across multiple Docker hosts.

Currently Docker supports volume and network driver plugins. In the future it will support additional plugin types.

Installing a plugin

Follow the instructions in the plugin's documentation.

Finding a plugin

The following plugins exist:

  • The Flocker plugin is a volume plugin which provides multi-host portable volumes for Docker, enabling you to run databases and other stateful containers and move them around across a cluster of machines.

  • The Weave plugin is a network driver plugin which provides a virtual, multi-host network for containers.

  • The Calico plugin is a network driver plugin which provides a multi-host network for containers with routes distributed by BGP.

Troubleshooting a plugin

If you are having problems with Docker after loading a plugin, ask the authors of the plugin for help. The Docker team may not be able to assist you.

Writing a plugin

If you are interested in writing a plugin for Docker, or seeing how they work under the hood, see the docker plugins reference.

Related GitHub PRs and issues

Send us feedback and comments on #13419, or on the usual Google Groups (docker-user, docker-dev) and IRC channels.