I'm trying to figure out how to run an interactive container in azure. What I would do for a local container on docker:
docker run -t -i dockerID /bin/bash
Now i can create the container on azure, but if it doesn't have an active back ground process, it just exits immediately. I could probably just create a shell script that keeps the container alive in the background and then use az container exec to get a bash shell, but it seems wasteful to leave the container running all the time and not the right way to do things in container land from understanding.
So... what is the right way to create an interactive container in azure (like this one for example