Skip to content
Discussion options

You must be logged in to vote

That's a great question! It’s a common doubt when starting out. While venv or npm are great for managing language-specific dependencies, Docker operates on a completely different level. Here’s why we use it in fivelib:

1. Environment Consistency (The "It works on my machine" fix)
Virtual environments like venv only isolate Python packages. They don't account for the OS version, system-level libraries, or environment variables. Docker mitigates errors like:

  • Missing System Dependencies: If the project needs a specific Linux library to handle network protocols, Docker ensures everyone has it.
  • Local Configuration Issues: It prevents "ghost errors" caused by different OS setups or poorly conf…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nexus2s
Comment options

Answer selected by nexus2s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants