I am working on an Flask REST API developed with Docker and I want to automate the whole process by which I start the application.
The whole starting process involves (on Windows):
open cmd prompt
docker exec -it container_name bash
inside the container, run
Is there a way to create a bash script to run these 3 commands and keep the container window open so I can see the API logs (and run other commands)?
Source: Docker Questions