When is it Better to Avoid Using Docker?

0
1
Asked By CuriousCoder99 On

I'm working at a mid-sized company and I've been curious about the situations where Docker might not be the best choice. Are there specific scenarios or configurations where it's better to just run things directly on the machine?

5 Answers

Answered By PerformancePro42 On

One major consideration is performance. If you need to squeeze out every bit of performance, Docker could introduce slight overhead due to the union filesystem, especially during writes. Also, dealing with permission issues can be a hassle at times, so that might be another reason to stick with a direct install if it's causing you more trouble than it’s worth.

Answered By ResourceSaver21 On

I have a VPS with only 768MB of RAM, so every megabyte counts. Running services directly instead of in Docker saved me from the dreaded OOM killer who frequently took down my containers. Performance considerations can definitely influence whether Docker is a good fit.

Answered By SmallSetupGuy On

For smaller setups or when you don't need isolation, it might be simpler to run directly on the machine. If you have poor observability tools or need full access to logs and configs, going raw can be a better fit.

Answered By DedicatedDev88 On

If you have a machine that's dedicated to a single task, like a database server running one process, then using Docker might complicate things unnecessarily. Docker’s overhead is usually minimal but it still exists, and that can add another layer of complexity to debug.

Answered By ExpertOpinions On

Sometimes, vendor-supplied applications won't support Docker. If you're dependent on certain software that has licensing tied to hardware IDs or MAC addresses, Docker may not be feasible. In those cases, you might want to run it natively.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.