So the last line in my Dockerfile is:
CMD Django-admin startproject testproject
I'm new to Docker and I just learned that I can only use the CMD line once in a Dockerfile and that running /bin/shell in the following example overrides the CMD:
docker run -it <containerid> /bin/bash
My question is how do I open a shell without overriding the Django-admin startproject CMD? I have looked into docker attach but this does not seem to open a shell. I feel like I am missing something obvious here. I just want to run my container and go into the shell and poke around and ensure my Django project is actually being created.