AZ CLI supports executing a single command in a running container.
az container exec -g myresourcegroup -n nginxtest --exec-command /bin/bash
Because of this, you cannot automate running multiple commands over existing container directly as you can with docker.
Is it possible to go around this with stdin, stdout, stderr
redirection or multiplexing?