| ms.topic | include |
|---|---|
| ms.date | 08/07/2022 |
Run the image.
-
In the IMAGES section of the Docker extension, find the built image.
-
Expand the image to find the latest tag, right-click and select Run Interactive.
-
You'll be prompted to select the task appropriate for your scenario, either "Interactive run configuration (MongoDB local)" or "Interactive run configuration (MongoDB Azure)".
With interactive run, you'll see any print statements in the code, which can be useful for debugging. You can also select Run which is non-interactive and doesn't keep standard input open.