I'm a Docker newbie, using Docker on Mac. I'd like to debug it because I can't understand why it's doing what it's doing.
I figured I'll just find the Python files (in my case the file network.py
in compose
,) edit them to run my debugging logic, and then run docker.
The file I found and edited is at /usr/local/Cellar/docker-compose/1.24.1/libexec/lib/python3.7/site-packages/compose/network.py
but even though I edited it, Docker doesn't seem affected, I'm not sure if it even uses that file. I tried entering 1 / 0
into that file and Docker still works, so I conclude it's not even using that file.
Where are Docker's actual Python files that it uses?