Quantcast
Channel: Blog O' Matty on Prefetch Technologies
Viewing all articles
Browse latest Browse all 49

Seeing what changed in a docker containers file system

$
0
0
Docker has a number of nifty options to help investigate containers and container images. One option I have used over and over to debug issues is the docker “diff” command. This dumps out the files that have been aded (A), deleted (D) and created(C) since the container started. Here’s a simple example showing diff in action: $ docker run --rm -it --name centos centos bash $ touch /tmp/bar /tmp/baz /tmp/foo

Viewing all articles
Browse latest Browse all 49

Trending Articles