0

我試圖創建docker MobileFirst Server 7.1圖像,我想上傳到Blumix。所以,基本上我已經安裝了下面的事情在我的Windows 10未安裝MobileFirst Container CLI擴展

  1. 搬運工引擎
  2. Cloud Foundry的CLI
  3. IBM集裝箱插件(CF IC)
  4. MobileFirst CLI和CF IBM的容器,windows_x64 .EXE

CF IBM-容器插件

$ cf plugins 
Listing Installed Plugins... 
OK 

Plugin Name  Version Command Name  Command Help 
IBM-Containers 0.8.889 ic     IBM Containers plug-in 

dev_mode   1.1.0  mode    Show the application mode and runtime status, change the mode to dev or normal 
dev_mode   1.1.0  update-file   Update files in the remote application 
dev_mode   1.1.0  delete-file   Delete file or directory in the remote application 
dev_mode   1.1.0  delete-files  Delete files in the remote application 
dev_mode   1.1.0  start-inplace  Start the remote application without destroying the container 
dev_mode   1.1.0  stop-inplace  Stop the remote application without destroying the container 
dev_mode   1.1.0  restart-inplace  Restart the remote application without destroying the container 
dev_mode   1.1.0  invoke-handler  Invoke the handler in the remote application container 
dev_mode   1.1.0  apply-increment  Apply increment change in the remote application container 
dev_mode   1.1.0  start-utility  Start the application's utility 
dev_mode   1.1.0  stop-utility  Stop the application's utility 
dev_mode   1.1.0  restart-utility  Restart the application's utility 
dev_mode   1.1.0  query-utility  query the application's utility 
dev_mode   1.1.0  install-utility  install the application's utility 
dev_mode   1.1.0  uninstall-utility uninstall the application's utility 

我配置所有屬性在IBM-MFPF容器-7.1.0.0-EVAL文件和當我運行「./initenv.sh ARGS/initenv.properties」從搬運工發動機它

$ ./initenv.sh args/initenv.properties 

Checking if MobileFirst Containers CLI is installed ... 

MobileFirst Container CLI Extensions are not installed 
Try running ./installcontainercli.sh 

那我就

> $ ./installcontainercli.sh which: no mfp in  
> (/c/Users/skeintech/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Users/skeintech/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/skeintech/bin:/c/Program 
> Files 
> (x86)/Lenovo/FusionEngine:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program 
> Files/Intel/WiFi/bin:/c/Program Files/Common 
> Files/Intel/WirelessCommon:/c/Program Files/TortoiseSVN/bin:/c/Program 
> Files/CloudFoundry:/cmd:/c/Program Files/nodejs:/c/Program Files 
> (x86)/IBM/IBM Bluemix Live Sync CLI:/c/Program 
> Files/IBM/MobileFirst-CLI:/c/Program Files (x86)/MySQL/MySQL Utilities 
> 1.6:/c/Program Files (x86)/Skype/Phone:/c/Program Files/Cloud Foundry:/c/Users/skeintech/AppData/Roaming/Cloud Foundry:/c/Program 
> Files/IBM/MobileFirst-CLI:/c/Program Files/Docker 
> Toolbox:/c/Users/skeintech/AppData/Roaming/npm:/c/Program Files 
> (x86)/Microsoft VS 
> Code/bin:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) 
> MobileFirst Platform CLI is not installed 

回答

3

您正在使用的拉鍊:IBM-MFPF容器-7.1.0.0-EVAL是指IBM MobileFirst 7.1Ë估值形象。這已經停產,不再可用。

您應該考慮使用IBM 基金會MobileFirst V8.0,通過使用移動基金會Bluemix服務https://console.ng.bluemix.net/catalog/services/mobile-foundation

用於開發和測試,該服務具有開發計劃,它允許您使用Mobile Foundation服務器每月免費使用365小時。

瞭解更多關於服務here

但是,如果需要將MobileFirst Platform 7.1版本部署到Bluemix,請使用定製zip。這裏是tutorial

注意:您需要有權下載MobileFirst Platform Foundation v7.1自定義zip。