IBM / ubiquity-docker-plugin

Ubiquity Docker Plugin
Apache License 2.0
12 stars 17 forks source link

Ubiquity Docker Volume Plugin

The Ubiquity Docker volume plugin provides access to persistent storage for Docker containers. This plugin communicates with the Ubiquity service for the creation and management of volumes in storage system.

The code is provided as is, without warranty. Any issue will be handled on a best-effort basis.

Installing the Ubiquity Docker volume plugin

Install and configure the plugin on each node in the Docker Swarm cluster that requires access to Ubiquity volumes.

1. Prerequisites

2. Downloading and installing the plugin

systemctl enable ubiquity-docker-plugin.service      

3. Configuring the plugin

Before running the plugin service, you must create and configure the /etc/ubiquity/ubiquity-client.conf file, according to your storage system type. Follow the configuration procedures detailed in the Available Storage Systems section.

4. Running the plugin service

Plugin usage examples

For examples on how to create, remove, list Ubiquity Docker volumes, as well as start and stop stateful containers, refer to the Available Storage Systems section, according to your storage system type.

Troubleshooting

Communication failure

If the Error looking up volume plugin ubiquity: Plugin does not implement the requested driver error is displayed and the Error in activate remote call &url.Error message is stored in the ubiquity-docker-plugin.log file, verify comminication link between the plugin and Ubiqutiy server nodes. The loss of communication may occur if the relevant TCP ports are not open. The port numbers are detailed in the plugin and Ubiquity server configuration files.

Support

For any questions, suggestions, or issues, use github.

Licensing

Copyright 2016, 2017 IBM Corp.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.