We'll cover the docker inspect
command. It's a useful command to figure out information about the running docker container, especially if you don't have the Dockerfile
used to the build the Docker image handy.
Commands:
docker run --rm -P -d boltops/docker-tutorial
docker inspect cranky_lichterman
docker inspect cranky_lichterman | jq .
docker inspect cranky_lichterman | jq '.[].Config'
docker run --rm -P -d httpd
docker inspect goofy_jenison | jq '.[].Config'
Docker Essentials
1h 46m
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day