我的环境:
我在CMD和Boot2Docker VM下输入了这个命令cf install-plugin https://static-ice.ng.bluemix.net/ibm-containers-windows_x64.exe
,以便安装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插件无法正确安装。
如何解决这个问题?
答案 0 :(得分:1)
安装包含容器功能的新bx插件:http://clis.ng.bluemix.net/ui/home.html
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