Skip to Main Content
OpenShift in Action
book

OpenShift in Action

by John Osborne, Jamie Duncan
May 2018
Beginner to intermediate content levelBeginner to intermediate
320 pages
10h 34m
English
Manning Publications
Content preview from OpenShift in Action

Appendix C. Working directly with Docker

Docker has its own command-line tool, aptly named docker. To get the information you need to dig deeper into how containers isolate applications in OpenShift, the docker command is your starting point.

Note

To interact directly with docker, you need to SSH into your application node and run the commands in this chapter as the root user.

The first thing we’ll walk through is how to get a list of all currently running containers on an application node.

C.1. Getting running containers

After you log in to your application node, run docker ps at the command prompt. This command returns a list of all containers currently running on the application node. Each line in the output from

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

OpenShift for Developers

OpenShift for Developers

Grant Shipley, Graham Dumpleton
DevOps with OpenShift

DevOps with OpenShift

Stefano Picozzi, Mike Hepburn, Noel O'Connor
Learn OpenShift

Learn OpenShift

Denis Zuev, Artemii Kropachev, Aleksey Usov
Kubernetes: Up and Running

Kubernetes: Up and Running

Kelsey Hightower, Brendan Burns, Joe Beda

Publisher Resources

ISBN: 9781617294839Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link