Share via


Configure Visual Studio Container Tools

You can control some aspects of how Visual Studio works with Docker containers by using Container Tools settings. This article describes how to configure Container Tools settings that can affect Visual Studio performance and resource usage when you work with Docker containers.

Container Tools settings

To access the settings, select Tools > Options from the main Visual Studio menu. In the left pane, scroll down and expand Container Tools.

General settings

Important

If you set Trust ASP.NET Core SSL certificate to Never and the localhost SSL certificate isn't trusted, HTTPS web requests might fail at run time. In that case, set Trust ASP.NET Core SSL certificate to Prompt me, run your project, and indicate trust at the prompt.

Single Project or Docker Compose settings

The Container Tools Single Project and Docker Compose settings are identical.

The following table describes Single Project and Docker Compose settings: