a container is just like an OS…
you INSTALL software into it…
a Dockerfile (image build script)
now at OS and utilities
install additional components
run apt-get install python apache mysql
now install your app.
entrypoint=[cmd and args]
must NOT end, when it ends, the container stops.
there may be better images in the docker catalog that would get you more software already configured
than the example i provided.
there is a django image (which says don’t use me anymore)