我使用此清单部署一个docker(私有注册表)和一个数据容器来安装一些卷:
jpsType: install
name: test create DB1
description: "MariaDB is a database and here it is deployed with DMK"
logo: https://www.dbi-services.com/wp-insides/uploads/2015/04/RGB_dbi_services.png
env:
topology:
nodes:
- nodeType: docker
count: 2
fixedCloudlets: 1
flexibleCloudlets: 16
displayName: mariadbDMK
image: mariadbjustbin
registryUrl: node17297-privateregistry.hidora.com
volumeMounts:
/u01:
sourceNodeGroup: storage
/u02:
sourceNodeGroup: storage
/u90:
sourceNodeGroup: storage
- nodeType: storage
displayName: myStorage
问题在于: 如果我去我的环境,我只能扩展已经部署的码头工人(mariadbdmk),我不能添加其他私人码头工人(haproxy等...)
这是因为清单将我置于python环境中,而且我无权访问我的私人注册表。
任何人都知道如何告诉清单文件将我直接置于docker环境中?