Re:How “It works in my machine” turns to “It works in my con...
by pmontra on Thursday July 27, 2023 @12:13PM
(#36895796)
The scenario is: write a Vagrantfile and create the VM on Linux, then manually fix it or evolve it and never destroy and rebuild the VM. Then give that Vagrantfile to somebody on Windows a couple of years later. Chanches are that it won't work as intended.
That's more difficult to happen with a container and its image.
Perhaps the difference is that storing your changes is an explicit operation that needs to happen consciously, and that data is usually persisted outside of the container.