Once you've configured a Docker container, you'll probably want to see how it's configured. In this video excerpt from the Pearson/Addison-Wesley training course "Docker Containers LiveLessons", Christopher Negus will show you how to use commands such as
docker inspect- View container information
Pid- Check process ID of a running container
IPAddress- See the IP address of a running container
Binds- See bind mounts
nsenter- Access a running container's name spaces
Watch the video:
Chris Negus has authored or co-authored dozens of books on Linux and UNIX, including the Red Hat Linux Bible (all editions), Linux Troubleshooting Bible, Linux Bible 2005 and 2006 Editions, Linux Toys, and most recently Linux Toys II. He worked with the organization at AT and T that developed UNIX for eight years before moving to Novell to help contribute to the short-lived UnixWare project in the early 1990s. He now lives in a small town outside of Madison, WI.
This story, "How to check your Docker container - video" was originally published by Computerworld.