【发布时间】:2019-01-09 11:00:35
【问题描述】:
我一直在尝试按照http://collabnix.com/building-persistent-storage-solution-with-dellemc-rexray-0-8-docker-17-03-managed-plugin-system-for-cloud-platforms/ 中提到的步骤在 GCE VM 实例中使用 RexRay 驱动程序创建 docker 卷
这里 rexray 已安装并启用为 docker 插件。 我被困在卷创建步骤。相同的命令如下:
sudo docker volume create --driver rexray/gcepd --name storage1 --opt=size=32
以下是我在执行命令时收到的错误:
Error response from daemon: create storage1: VolumeDriver.Create: docker-legacy: Create: storage1: failed: error querying for existing volume
在网上找不到上述错误字符串的任何内容。
我在使用容器优化操作系统的 VM 实例中尝试相同步骤时遇到了同样的错误。
以下是我的设置的更多详细信息:
- 使用 Debian 操作系统的 GCE 实例
- 具有项目编辑权限的实例服务帐户
- Docker 版本 18.03.1-ce,构建 9ee9f40
【问题讨论】:
标签: docker google-cloud-platform google-compute-engine docker-volume