On Bluemix, I created a mongodb container (single node) with the help of mongodb image from docker hub; then I wanted to create liberty container from ibmliberty official image and link it to my mongodb container. but when I run the command it igives me the following error-
$ cf ic group create --anti --auto --desired 1 -e "ACMEAIR_PROPERTIES=/opt/ibm/
wlp/usr/servers/defaultServer/Prop" -m 256 --name acme-main -p 9080 -n acme-mai
n -d mybluemix.net --volume acmemain:/opt/ibm/wlp/usr/servers/defaultServer/Pro
p --link lc-mongo:mongo registry.ng.bluemix.net/ibmliberty:javaee7
flag provided but not defined: -link
The same thing worked perfectly when I tried to connect my liberty container (single node) to my mongodb container (single node).