I am very new to Flocker and I have created a setup by Vagrant (see here) but I am not finding any command like flockerctl/flocker-volumes to create a volume with given size.
相关问题
- Docker task in Azure devops won't accept "$(pw
- Unable to run mariadb when mount volume
- Unspecified error (0x80004005) while running a Doc
- What would prevent code running in a Docker contai
- How to reload apache in php-apache docker containe
I fixed this issue by manually installing the flockerctl (see here) in the controller node and then I created the user certificate by flocker-ca command. Later I exported the environment variable to use the flockerctl.
Flocker has a few ways of creating the size of a volume.
by REST API. There is a "create dataset" api and use the
maximum_size
attribute in bytes for how large of a volume.Via
docker volume
cli. When you have theflocker-docker-plugin
working with flocker, simply rundocker volume create -d flocker --name myvol -o size=10gb
(unsupported/experimental) use FlockerCTL.