Re:A Study of Malicious Code in PyPI Ecosystem
by dagw on Friday September 08, 2023 @03:46PM
(#37438490)
A big one that has bitten my team a lot is syncing files between local and container. There are even whole separate tools like https://docker-sync.readthedocs.io designed to try to mitigate the problem. The most annoying thing is it almost works almost all the time and then all of a sudden stop working for some people for no obvious reason. We gave up on Docker for development because we couldn't trust it to work consistently.
[ Parent
| on HN ]
Re:A Study of Malicious Code in PyPI Ecosystem
by taway1237 on Friday September 08, 2023 @09:26PM
(#37441274)
I must be missing something, but why not just mount your code into the container? That's what I usually do.
Re:A Study of Malicious Code in PyPI Ecosystem
by dagw on Saturday September 09, 2023 @12:46PM
(#37447353)
I have a directory with my files in it and mount that directory into the container. However when I make changes to the files outside the container, those changes aren't always reflected inside the container, causing all kinds of weird behaviour and mismatches. It almost always works as expected, for almost everybody on the team, but everybody with a Mac has experienced this at least once.