Why do I still get a warning about "Running pip as the 'root' user" inside a Docker container?
I made a simple image of my python Django app in Docker, using this Dockerfile: FROM python:3.8-slim-buster WORKDIR /app COPY requirements.txt requirements.txt RUN pip install -r requirements.txt COPY . . CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] And building it using: sudo docker build -t my_app:1 . But after building the container (on Ubuntu