I’m trying to spin up a docker container with a powershell script. The container will have an azure API function in it. I’ve used VS to create the dockerfile and the container is created successfully. However, docker desktop is showing 0% CPU usage and there is no output to the container’s log screen.
When I run the project in VS, the container is created, the CPU usage is > 0% and there is output to the logs. I noticed that VS is running the docker build and docker run commands and I can see them in the output window. I’ve also noticed that VS is running some other commands or doing something to make the function in the container actually start up.
Would anyone have any insight into how I can replicate what VS is doing from the command line OR how I can see what commands VS is running to start the function?