Clinic on Docker on Mac
Running Clinic on Docker on Mac causes a few issues because of the layered file system. The trace events file fails to be renamed with a system error from docker. It has to do with the trace event file not existing within the writable layer of the mounted file system. In order to get clinic to work, we have to manually ssh in to the container and copy the file out, rename it, then run visualize.
/cc @mcollina @lucamaraschi
1 1/2 years later this is still not fixed. My workaround was to leave the .clinic folder alone, bind a final-results folder on my HDD and in the container, and then move the clinic files manually after each test run. At least I didn't have to manually rename everything.
1 1/2 years later this is still not fixed.
@Avladd would you be willing to send a PR or fund the development of this feature?
If I knew anything about the layered file system in docker / unix and the interaction between that and node clinic maybe. Unfortunately, I don't and the workaround I posted is good enough for today's needs and may be good enough for others as well.
I suspect you took my comment to be a lot snarkier then it was. It was more surprise than anything else.