关注微信公众号
第一手干货与资讯
加入官方微信群
获取免费技术支持
Hi, I’m James Harris, (@sir_yogi_bear) one of the engineers here @Rancher_Labs, and I am excited to announce we added support this week for pulling and viewing Docker logs in Rancher. The addition of the feature allows users to easily work with their containers from the web UI in a much more involved way. Previously, there was no way to track the output of a container through Rancher. Now you can easily follow both the Std out and Std error of a container. This is the first step in adding more advanced log management capabilities to Rancher. You can see the new feature when you look at any container in Rancher. In the top left of the container screen you will see several icons for taking actions on a container. Clicking on the: will allow you to view the container logs screen. We have two ways of displaying container’s logs. One where the logs are combined: And another where logs are separated between standard error and standard out. This is available when a container is created without the tty flah selected. Combined: Just Std Out: Just Std Error: I hope that this new functionality in Rancher enables better management of your containers, and please stay tuned, we’re going to be adding a number of other capabilities around log management in the future. If you’d like to see this or any other Rancher functionality. Please don’t hesitate to schedule a one on one demo, where we can walk you through the current features, and some of the capabilities we’re still working on. James Harris @sir_yogi_bear