4 ms·
Not in docker. The entire point of docker is isolation so when you use something like python3.7-slim, its fine to use the system python. Thats the whole point o
by pid_0 7y ago
Not in docker. The entire point of docker is isolation so when you use something like python3.7-slim, its fine to use the system python. Thats the whole point of using the image.
Now you still want to run and install pip packages as a non-root user of course, but you don't need a virtualenv in docker.