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. Container
UI 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. Container
Actions Container Actions Stopping
State Container Actions
Stopped Clicking on the: Logs
Icon will allow you to view the container logs screen. We have two ways of displaying container’s logs. One where the logs are combined: Container Logs
Screen With
TTY 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:Container Logs Screen Without
TTY Just Std Out:Container Logs Screen Without Just Std
Out Just Std Error:Container Logs Screen Without 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