I read some articles about using a virtual environment in Docker. Their argument are that the purpose of virtualization in Docker is to introduce isolation and limit conflicts with system packages etc.

However, aren’t Docker and Python-based images (e.g., python:*) already doing the same thing?

Can someone eli5 this whole thing?

  • GBU_28@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    Hah my base python has never seen a command.

    Biggest reason for me is that local dev happens in a venv and translating to a container is 100% 1:1 then