Rancher now supports Docker logs | SUSE Communities

Rancher now supports Docker logs


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
Container Actions Stopping
Container Actions
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
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
Just Std Out:Container Logs Screen Without Just Std
Just Std Error:Container Logs Screen Without Just Std
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