Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robhaswell/flocker-volumes-docker
A Docker image for the `flocker-volumes` command from ClusterHQ/unofficial-docker-tools
https://github.com/robhaswell/flocker-volumes-docker
Last synced: 19 days ago
JSON representation
A Docker image for the `flocker-volumes` command from ClusterHQ/unofficial-docker-tools
- Host: GitHub
- URL: https://github.com/robhaswell/flocker-volumes-docker
- Owner: robhaswell
- License: apache-2.0
- Created: 2015-06-20T14:37:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-20T16:40:59.000Z (over 9 years ago)
- Last Synced: 2023-03-24T07:43:37.387Z (almost 2 years ago)
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flocker-volumes-docker
A Docker image for the `flocker-volumes` command from ClusterHQ/unofficial-docker-tools.## Usage
`flocker-volumes` requires two parameters: The location of certificates directory, containing `user.crt` and `user.key`, and the IP address of the control service.
These are supplied through a volume and environment variable:docker run -v /path/to/your/certs:/certs -e CONTROL_SERVICE=1.2.3.4
Optionally the control service port can be specified with the `CONTROL_PORT` environment variable.
## Example
docker run -v .:/certs -e CONTROL_SERVICE=1.2.3.4 robhaswell/flocker-volumes --help
Usage: flocker-volumes [options]
Options:
--cluster-yml= Location of cluster.yml file (makes other options
unnecessary) [default: ./cluster.yml]
--certs-path= Path to certificates folder [default: .]
--user= Name of user for which .key and .crt files exist
[default: user]
--cluster-crt= Name of cluster cert file [default: cluster.crt]
--control-service= Hostname or IP of control service
--control-port= Port for control service REST API [default: 4523]
--version Display Twisted version and exit.
--help Display this help and exit.
Commands:
create create a flocker dataset
destroy mark a dataset to be deleted
list list flocker datasets
list-nodes show list of nodes in the cluster
move move a dataset from one node to another
version show version information