有没有办法在 bluemix 中启动一个 docker 容器并查看命令行输出?

Is there a way to start a docker container in bluemix and see the command line output?

我在 bluemix 上 运行 我的 docker 容器时遇到问题。容器 运行s 在我的本地机器上没有任何问题,但在 bluemix 中崩溃了。有没有办法通过 "ice" 命令在 bluemix 中启动一个容器,并以与我在本地 docker 安装中没有“-d”命令的情况下看到的相同方式查看控制台输出?

您可以使用以下命令行查看 IBM Containers 的控制台输出:

ice logs <container id>

取决于您使用的工具:

ice logs <container id>

cf ic logs <container id>

docker logs <container id>