I’ve developed a Python program and I’m running it inside a docker. If I go to the docker console I only see a process but if I execute htop in the parent machine I see multiple processes of the same execution:
(htop parent machine left, process inside container right)
As you can see in the image, same happens with security_app.py there are a lot of processes for the same python file.
Is this normal?
The DockerFile that I have created is the following:
FROM python:3.10
RUN apt update
COPY . .
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
RUN pip3 install -r requirements.txt
CMD [“python3”, “./trades_app.py”]