How do I find the difference between two running containers using Docker client? I have an image running as multiple instances and later I have changed/installed new packages in the instances and lost track. Is there a way I can find the differences between these running containers?
you must inspect container
docker inspect CONTAINER_1
docker inspect CONTAINER_2
find the fragment for each one
"Id": "cc502eeb69968c9b80c029f8124333d725ee124db4357de69786bc9bdf3a8088",
then with the tow ID you can compare the folders
/var/lib/docker/aufs/mnt/CONTAINER_1 vs /var/lib/docker/aufs/mnt/CONTAINER_2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With