Visual Studio Container Tools Extension (Preview) Announcement

Christos Matskas

Christos

Today we’re excited to announce the preview availability of the new Visual Studio Container Tools Extension (Preview) for Visual Studio 2019. This is an important milestone in the iteration of our container tooling in Visual Studio, as we try to empower developers to work better with their containerized applications directly from within the IDE. The current Visual Studio Tools for Containers provide a great getting started experience for developers building new containerized applications, as well as capabilities to containerize an existing application. The extension tooling, available today, will provide developers additional functionality to help with building and diagnosing containerized applications from right within Visual Studio. 

Prerequisites 

To use the new extension, you’ll need to have the following installed: 

Installation 

You can easily acquire and install the new extension from the Visual Studio Marketplace. 

  Visual Studio Marketplace

Alternatively, you can acquire the extension directly from within Visual Studio using the Extensions -> Manage Extensions menu option. On the Manage Extensions window, select Online from the left and then use the Search text box on the top right-hand corner to search for “Visual Studio Container Tools Extensions”. 

Install Container tools from Visual Studio

What is this new extension? 

The goal of the Container Tools window is to provide a GUI experience within Visual Studio 2019 to aid container developers in building and diagnosing their containerized applications. At a high level, the new tooling provides the following capabilities: 

  • Show a list of containers on your local machine 
  • StartStop, and Remove containers 
  • View containers log (stdout/stderr) – choose to stream logs or not 
  • Search log contents using the standard Visual Studio Find Dialog 
  • Show the folder & files in a running container 
  • Open files from a running container inside Visual Studio 
  • Inspect container port mappings and environment variables 

If you’re used to using the Docker CLI tool to interact with your containersthis window provides a more convenient way to monitor your containers in the IDE and helps you be more productive by not having to switch constantly between your IDE and separate command/terminal windows. 

Container filesystem in Visual Studio

Container Logs in Visual Studio

Note: Containers started (F5 and Ctrl+F5) from Visual Studio will not display logs in this tab, use the Output window instead. 

Please share your thoughts 

We are very excited about our new Container tooling extension and encourage you to download and try out it out today, whether you’re new to containers or an experienced docker developerYou can also check out the Visual Studio documentation for more details. 

Our goal is to make working with containers a great experience in Visual Studio 2019 and we have many other ideas for the Containers window we feel will help in building containerized applications. Wwant to hear from you, and we hope you can share your comments and suggestions on how we can make our tools work better for youDo this by opening a new issue at https://github.com/Microsoft/DockerTools/issues.  

Christos Matskas
Christos Matskas

Prouduct Marketing Manager, C&E Marketing Dev Tools

Follow Christos   

8 Comments
Donovan Edye
Donovan Edye 2019-05-07 21:42:47
Are there any plans to add support for Kubernetes / MiniKube?
Meghnath Das
Meghnath Das 2019-05-08 08:12:17
Oh it would be very good tool. Is it will work like Docker? Is it open source?
Francois Rivard
Francois Rivard 2019-05-09 05:54:28
That's a very nice extension! I love it. Any plans to have another window that shows the images? Like the 'docker images' command? Then you could right-click on an image, choose 'run', or 'run interactive'...
Avatar
Colin Anderson 2019-06-08 11:38:12
Are there plans to add support for Docker Compose? While k8s is used a lot in production, Compose is still super-useful and lightweight for running groups of containers locally.
Avatar
Mark Grossman 2019-06-24 20:40:47
Great work! You might want to fix your signature at the bottom. Says "Prouduct Marketing Manager"