3 ms·
Can you expand a bit on how you still end up with non-reproducible environments? Not that I doubt it! Just would like to here some details, or a specific exampl
by clebio 11y ago
Can you expand a bit on how you still end up with non-reproducible environments? Not that I doubt it! Just would like to here some details, or a specific example.
- luos 11y agoUsually when you ssh into the machine to fix something broken then forget to backport the changes to the ansible script.
- merb 11y agoThe same thing could happen with docker, too.
- vetinari 11y agoYou usually can't ssh into docker container because: 1) it usually doesn't have sshd 2) you change would be thrown away at nearest container restart or migration. The only way for it to persist is to do the right thing, i.e. apply the change where you should and have the container rebuilt.
- merb 11y agoYou don't need ssh to get into a docker container.
- danpalmer 11y agoDefinitely what luos said, but also you typically run repeatedly against the same machines, with changes on each run. This can lead to having a different environment depending on whether you ran once or multiple times. Conversely with Docker, you're essentially recreating from scratch every time you build the image, with some caching to make it fast though.
- TheIronYuppie 11y agoHow about just when your current machine (e.g. Mac) has a different supported version of Python? Disclosure: I work at Google on Kubernetes.
- metafunctor 11y agoUmm, you install the version of tools and libraries you've standardized on, and check them in your unit tests?