Ibm cloud 无法在Windows 10下安装bluemix容器CLI(cf ic)
我的环境:Ibm cloud 无法在Windows 10下安装bluemix容器CLI(cf ic),ibm-cloud,cloud-foundry,ibm-cloud-plugin,Ibm Cloud,Cloud Foundry,Ibm Cloud Plugin,我的环境: Microsoft Windows 10 64位 Docker,版本1.10.3,内部版本20f81dd,从Docker工具箱安装 CloudFoundry CLI,cf版本6.16.1+924508c-2016-02-26 Bluemix CLI,bx版本0.3.1-5206a18-2016-03-01T08:16:52+00:00 我输入了这个命令cf安装插件https://static-ice.ng.bluemix.net/ibm-containers-windows_x6
- Microsoft Windows 10 64位
- Docker,版本1.10.3,内部版本20f81dd,从Docker工具箱安装
- CloudFoundry CLI,cf版本6.16.1+924508c-2016-02-26
- Bluemix CLI,bx版本0.3.1-5206a18-2016-03-01T08:16:52+00:00
cf安装插件https://static-ice.ng.bluemix.net/ibm-containers-windows_x64.exe
在CMD和Boot2Docker VM下安装cf ic插件,这在官方指南中有所提及。结果是“退出状态2”
输出:
Attempting to download binary file from internet address...
10325504 bytes downloaded...
Installing plugin C:\Users\myusername\AppData\Local\Temp\
ibm-containers-windows_x64.exe...
FAILED exit status 2
什么是“退出状态2”?我在故障排除文档中找到了一个提到“退出状态1”的部分。但是,没有关于“退出状态1”的信息
我使用默认设置安装了所有程序,但cf ic插件安装不正确
如何解决此问题?安装包含容器功能的新bx插件:
Windows的Boot2Docker已被弃用。您是否已检查cf cli在您的环境中是否可用?运行cf-vt cf实用程序正常。安装失败的是cf ic插件。我认为这是与windows 10不兼容的问题。
bx ic help
USAGE:
bluemix ic COMMAND [COMMAND OPTIONS] [ARGUMENTS...]
IBM Containers commands:
attach(Docker) Attach to a running container
build(Docker) Build an image from a Dockerfile
create(Docker) Create a new container
cpi Copy image
exec(Docker) Run a command in a running container
groups List all container groups
group-inspect View the info of specified container group
group-instances List instances of specified container group
group-create Create a new container group
group-update Update an existing container group
group-remove Remove a container group
images(Docker) List images
inspect(Docker) Return low-level information on a container or image
info Display information about IBM Containers
init Initialize IBM Containers CLI
ips List all IP addresses
ip-request Request an IP address
ip-release Release an IP address
ip-bind Bind an IP address to a container instance
ip-unbind Unbind an IP address from a container instance
kill(Docker) Kill a running container
namespace-get Get current container namespace
namespace-set Set container namespace
pause(Docker) Pause all processes within a container
port(Docker) List port mappings or a specific mapping for the container
ps(Docker) List containers
restart(Docker) Restart a running container
rm(Docker) Remove one or more containers
rmi(Docker) Remove one or more images
run(Docker) Run a command in a new container
route-map Map a route to container group
route-unmap Unmap a route from container group
start(Docker) Start a stopped container
stats(Docker) Display a live stream of container(s) resource usage statistics
stop(Docker) Stop a running container
top(Docker) Display the running processes of a container
unpause(Docker) Unpause a paused container
volumes List all volumes
volume-inspect View the info of specified volume
volume-create Create a new volume
volume-remove Remove a volume
volume-fs List filesystems
volume-fs-create Create a new filesystem
volume-fs-remove Remove a filesystem
volume-fs-inspect Inspect a filesystem
volume-fs-flavors List filesystem flavors
version(Docker) Show the Docker version information
wait(Docker) Block until a container stops, then print its exit code
help