有没有办法在bluemix中启动Docker容器并查看命令行输出?(Is there a way to start a docker container in bluemix and see the

编程入门 行业动态 更新时间:2024-10-26 09:34:28
没有办法在bluemix中启动Docker容器并查看命令行输出?(Is there a way to start a docker container in bluemix and see the command line output?)

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

I am having problems to run my docker container on bluemix. The container runs without any problem in my local machine but crashes in bluemix. Is there a way to start a container in bluemix via the "ice" command and see the console output in the same way as I can see it without the "-d" command in my local docker installation?

最满意答案

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

ice logs <container id>

You can see the console output of IBM Containers with the following command line:

ice logs <container id>

更多推荐

本文发布于:2023-08-02 16:07:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1378627.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:没有办法   容器   命令   行输出   Docker

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!