如何从 Bluemix Hub 中删除 Docker 图像?
How to remove a Docker image from the Bluemix Hub?
在 official docs 中,我没有找到任何提及如何从 Bluemix 中删除 Docker 图像的内容。
可能吗?
"ice" 命令是什么?
rmi
命令不适用于 ice
:
ice: error: argument subparser_name: invalid choice: 'rmi' (choose from 'login', 'tlogin', 'ps', 'run', 'inspect', 'logs', 'start', 'stop', 'restart', 'pause', 'unpause', 'rm', 'images', 'search', 'info', 'ip', 'help')
试试命令 ice rm <container>
。
[08:40 AM] jsloyer@Jeffs-MacBook-Pro [Downloads]>ice rm
Target is container cloud. Invoking cloud service...
usage: ice rm [-h] CONTAINER
ice rm: error: too few arguments
更多信息请访问 http://www.ng.bluemix.net/docs/#services/Containers/index.html#container_cli__rm
您可以在 https://static-ice.ng.bluemix.net/icecli-2.0.zip
下载新的 CLI
下载后使用以下命令安装它。
sudo pip install icecli-2.0.zip --upgrade
请确保您至少有 Python 2.7.
这将升级 CLI,然后您将拥有 rmi
命令。
usage: ice rmi [-h] [--registry REGISTRY] [--key PSSWD] IMAGE
ice rmi: error: too few arguments
我已经能够使用 IBM Containers Cloud Foundry 插件 (documentation) 删除 Bluemix 上的图像。
docker@boot2docker:~$ cf ic login
docker@boot2docker:~$ cf ic rmi <image URL>
在 official docs 中,我没有找到任何提及如何从 Bluemix 中删除 Docker 图像的内容。
可能吗?
"ice" 命令是什么?
rmi
命令不适用于 ice
:
ice: error: argument subparser_name: invalid choice: 'rmi' (choose from 'login', 'tlogin', 'ps', 'run', 'inspect', 'logs', 'start', 'stop', 'restart', 'pause', 'unpause', 'rm', 'images', 'search', 'info', 'ip', 'help')
试试命令 ice rm <container>
。
[08:40 AM] jsloyer@Jeffs-MacBook-Pro [Downloads]>ice rm
Target is container cloud. Invoking cloud service...
usage: ice rm [-h] CONTAINER
ice rm: error: too few arguments
更多信息请访问 http://www.ng.bluemix.net/docs/#services/Containers/index.html#container_cli__rm
您可以在 https://static-ice.ng.bluemix.net/icecli-2.0.zip
下载新的 CLI下载后使用以下命令安装它。
sudo pip install icecli-2.0.zip --upgrade
请确保您至少有 Python 2.7.
这将升级 CLI,然后您将拥有 rmi
命令。
usage: ice rmi [-h] [--registry REGISTRY] [--key PSSWD] IMAGE
ice rmi: error: too few arguments
我已经能够使用 IBM Containers Cloud Foundry 插件 (documentation) 删除 Bluemix 上的图像。
docker@boot2docker:~$ cf ic login
docker@boot2docker:~$ cf ic rmi <image URL>