When investigating a problem with a docker file I wanted to check what was changed when running the docker image.
I first had to lookup the container id through docker ps:
C:\Users\bawu>docker ps
CONTAINER ID IMAGE
2ca085df3487 masstransit/rabbitmq:latest
Now I could ran docker diff <CONTAINER>
using the container ID to see the files that are changed: :
C:\Users\bawu>docker diff 2ca085df3487
C /var
C /var/log
C /var/log/rabbitmq
A /var/log/rabbitmq/log
A /var/log/rabbitmq/log/crash.log
C /etc
C /etc/rabbitmq
A /etc/rabbitmq/rabbitmq.conf