I need to clone code while creating docker container not while building image. How can we achieve this or How can we run commands while creating container. I have used CMD git clone "URL" in docker file but is giving error "Option 'c' is unknown. Ignoring" while running container.
RUN git clone --progress --verbose https://github.com/sanjayme97/dotnet-core-demo.gitin docker file but while building git code is not cloning it shows ``removing intermediate container``` and skipping the command.