Navigating the Container File System
Learn how to navigate the Docker container file system to further check configurations and log files.
Interactive navigation
We’ve discussed a lot about reviewing Docker log files and inspecting containers. We’ve also looked at the use of the docker exec
command, which aids in exploring a container in interactive mode. Let’s take it further by seeing how we can navigate containers when they’re running and when they’re not.
Interactive navigation of the Docker container file system has to do with exploring a container file system while the container is running.
We spin a container from an image, and then check the status of the container to check if it’s running already. Here’s how we can do that:
Get hands-on with 1200+ tech skills courses.