Please, format your post properly if you want to make sure we can understand your code without the markdown filter changing it
Regarding the issue, I noticed you installed python3-pip
in the image, but python3-pip
is already installed by default. On the other hand, you installed python-dev
which is for Python 2.7, so you installed Python 2.7 as a dependncy and you don’t have the dev package for Python 3. You should use install python3-dev
instead.
If you want to see stopped containers, you need to use docker ps -a
I strongly recommend to try everything in an interactive shell in a container before building the image so you can find issues before that.