Your extension will be available shortly on the Visual Studio Marketplace at this link.

Visual Studio Tools for Docker - Preview

Free

Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a Docker Container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

3 Star
(33)
Visual Studio
2015
Download (49,114)
9/28/2016
0.41.0
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Sign in to write a review
Sort by:

1 Star
by VamsiJakkula | October 31 2016

Today after following all the steps . I'm not able to see the docker support icon in the add button. i have VS community addition.

5 Star
by Jeff in Boise | October 17 2016

This isn't perfect, but it is the best so far. Docker in general is very new and changing fast. (Especially on Windows) This appears to be updated often. The features that are not complete, but the features that are here are robust and helpful.

I'll be using this extension in production work and I'm excited to see this to continue to grow.

3 Star
by Alexander.Mazur | October 03 2016

The tool works fine on simple one project demos. Don't you have any updates related to support multi-project solutions? Thanks!

5 Star
by petr_-_s | August 17 2016

5 Star
by André Secco | August 02 2016

5 Star
by Radu Florescu | July 30 2016

Best tool to use with you docker containers.

2 Star
by Crafty33 | July 26 2016

Version not updated. 0.31 expected ?

5 Star
by netoisc | June 29 2016

Great! thanks for let us test and use new asp.net core-based applications on docker.

1 Star
by aquatick | June 27 2016

guys, any way to publish to secure docker using this stuff or it's totally degraded?

3 Star
by Sebas---- | May 31 2016

Great extension (started awesome, not anymore). Does not work out of the box with multi project solutions. Main project gets build and added to docker container, but the dependencies (other projects in the solution) do not.

0.12 <= version had a nicer integration with visual studio, "publish to" worked great with a on premise docker server. Later verions made it more of a problem since you had to add the remote docker host to docker-machine (every developer has to do this, annoying!).

Hope some day they bring back the "publish" feature, and keep the current docker-machine for local debugging of containers.

Microsoft Cloud Explorer June 14 2016
| Edit |
Delete

Hi Sebas,
We are just beginning to explore multi-container support. The challenge is launching a debugger across multiple containers. Possible, but we're still exploring. What you can do is build each project, and in the project/container you wish to debug, add the other image references. That assumes you're looking to run multiple containers for each project. If you're trying to compile multiple projects into one container, that would be good to know, and what's not working.
Steve Lasker
Blogs.msdn.com/SteveLasker

5 Star
by Christopher Myers | May 18 2016

Really great work on this add-on team! The documentation and Channel 9 videos are extremely helpful as well.

5 Star
by 张志勇-.NET | April 20 2016

4 Star
by Vinay Date | April 19 2016

1 Star
by Jacob Reid | March 31 2016

5 Star
by Will 保哥 | March 27 2016

few typo in the description:
stteps => steps
Chnage => Change

Microsoft Cloud Explorer March 29 2016
| Edit |
Delete

Thanks will. Corrections made

4 Star
by Madd_dog | March 15 2016

This not a review but wanted to respond to a "comment review".
If you have received "Visual Studio 2015 Tools for Docker Core requires Docker Toolbox" just reinstall docker using the gui.

1 Star
by cocowalla | March 10 2016

When I try to install I get 'Visual Studio 2015 Tools for Docker Core requires Docker Toolbox' - even though Docker Toolbox is already installed.

Sign in to start a discussion


  • The files in properties folder is missing after add docker support
    1 Posts | Last post November 11, 2016
    • No files is generated in properties folder, and i cant find in item templates folder as well.
      
      I have the same in 2 diferente notebooks, any advice?
  • Running Docker on another machine
    1 Posts | Last post November 10, 2016
    • Is there any way to integrate this without running Docker on the local machine? Docker for Windows does not support nested virtualization, meaning that I cannot use it in my development VM (running under Parallels on a Mac). I can easily set up another linux VM running Docker, but I don't see a way to point the tools to it.
  • Not able to see the Docker Support icon
    6 Posts | Last post November 10, 2016
    • 
       Today after following all the steps . I'm not able to see the docker support icon in the add button. i have VS community addition. 
    • It is usually because VS setup didn't run correctly during installation. Can you please close all the VS instances and run 'devenv /setup' as admin in Developer Command Prompt for VS and see if it fixes the problem?
    • I installed all the prereqs and I don't see the Docker support icon in VS. I'm on Windows 10 Enterprise, running VS2015 Enterprise with Azure ADK 2.9.5., .NET Core 1.0.1, Docker Toolbox 1.12.2 and the Docker Visual Studio tools. Tried to reinstall, reboot, run "devenv /setup" - still no docker icon in VS. Any tips or recommendations? 
    • @Tom_Floor, can you please confirm if the project you wanted to add Docker support to is an ASP.NET Core/.NET Core console project?
    • Zhao Weida It's a .NET core project. I completely removed and reinstalled all the tooling, and now I have the docker support icon in VS. 
    • Hi Tom,
      
      This might be a MEF Cache issue. Glad to hear that it got resolved. In case you come across it again, please try resetting the cache by removing the folder:
      %localappdata%\Microsoft\VisualStudio\[InstanceVersion]\ComponentModelCache
      and run "devenv /setup" on a elevated Developer Command Prompt.
      
      Thanks
      Saurabh
  • What OS is this for?
    2 Posts | Last post November 07, 2016
    • I assume it does not support Win Server 2016 yet? 
      
      Also assuming it doesn't support Windows 10 Home since you can't install Docker For Windows w/o Hyper-V. Using Docker Toolbox doesn't seem to get it working in Win10 Home.
      
      Only supports Hyper-V enabled OSs like Windows 10 Pro, right?
    • Currently the Docker Tools for Visual Studio requires Docker for Windows to be installed, even on Windows Server 2016. According to https://www.docker.com/products/docker#/windows, Windows 10 Home is not supported.
  • MSB4018 “PrepareForCompile”
    2 Posts | Last post November 07, 2016
    •  
       
      Microsoft.DotNet.Docker.CommandLineClientException: 'docker' was not found. Please verify that it is available on %PATH%, or for troubleshooting, follow instructions from http://aka.ms/DockerToolsTroubleshooting.  ---> System.ComponentModel.Win32Exception: 系统找不到指定的文件。
         在 System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
         在 System.Diagnostics.Process.Start()
         在 Microsoft.DotNet.Docker.CommandLineClient.ExecuteAsync(String command, String arguments, IReadOnlyDictionary`2 environmentVariables, IDockerLogger logger, CancellationToken cancellationToken)
         在 Microsoft.DotNet.Docker.DockerClient.ExecuteAsync(String options, String commandWithOptions, IDockerLogger logger, CancellationToken cancellationToken)
       
         在 Microsoft.DotNet.Docker.DockerClient.ExecuteAsync(String options, String commandWithOptions, IDockerLogger logger, CancellationToken cancellationToken)
         在 Microsoft.DotNet.Docker.DockerClientExtensions.GetContainerIdAsync(IDockerClient client, String containerName, IDockerLogger logger, CancellationToken cancellationToken)
         在 Microsoft.DotNet.Docker.BuildTasks.PrepareForCompile.<ExecuteAsync>d__0.MoveNext()
       
         在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         在 Microsoft.DotNet.Docker.BuildTasks.DockerBaseTask.Execute()
         在 Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
         在 Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()	D:\Docker_Core\WebApplication\src\WebApplication\WebApplication.xproj	C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing\ImportAfter\Microsoft.DotNet.Docker.targets	61	
      
    • This usually means you don't have Docker for Windows installed on the development machine. Please check out the Prerequisites section in the DESCRIPTION tab on this page about what needs to be installed.
  • How to deploy to remote linux docker host?
    2 Posts | Last post November 07, 2016
    • Hi there, I'm trying to publish my application, developed on my windows machine with VS2015, to a remote Linux (Ubuntu 16.04 with docker installed) machine. 
      
      The problem is that I can't find how to do so. There is a doc. on the description page but it points to using dockertask.ps1, but as of last update (0.4), it has been removed so how should I proceed to deploy it?
      
      Thanks in advance!
    • Hi, this scenario is not supported now. The recommended flow is to 'docker push' the image to a remote registry such as Docker Hub, Azure Container Registry, etc., and then the remote Linux server can pull the image down and start a container with it.
  • Support for Windows Containers?
    3 Posts | Last post November 01, 2016
    • Are there plans for the tooling to support Windows containers? To elaborate, when I use the "Switch to Windows containers" feature of Docker for Windows beta I'm wondering if the VSTfD tooling will support running, for example, an ASP.NET Core app against Nano Server?
      
      Cheers - Graham
      
    • It's on top of our backlog. We're working on the support for Windows container now.
    • Great :)
      
      Thanks!
  • Remove annoying popup for previous version artifacts
    7 Posts | Last post October 30, 2016
    • Why is this message continually being displayed - every time I open solution ?
      
      How do I get rid of it. 
      
      I have a Docker dir with other files in it but all docker tools related artifacts have been deleted.
      
      What else could it be.
      
      Step it up guys.
      
      Please help.
    • Hi DPL,
      Can you elaborate on the specific text. 
      Steve
    • "There are projects containing the Docker artifacts generated by a previous version of Docker Tools. Please follow the instructions to manually upgrade the projects:
      
      some url = linkID=825140
      
      OK Button.
      
      Click ok and opens the extension website.
      
      Happens every time I open solution.
      Cheers
    • Hey Steve,
      
      Any resolution on this issue ?
      
      Cheers
    • Your project was generated by 0.31 or older tooling. Please follow the instructions in the dialog to manually upgrade the project.
    • Thanks Zhao - why didn't I think of that.......you are so funny.
      
      Originally performed this task.
      
      How do I disable this annoying popup message ?
      
      That's all I want to know.
      
      Can anyone answer this question ?
    • Hi,
      
      I am on WinSrv 2016 with Docker enabled.
      
      I installed Visual Studio Tools for Docker.
      
      I get "Microsoft.DotNet.Docker.CommandLineClientException: 'docker-compose' was not found."
      error when I try to run the asp.net project.
      
      Also Docker for Windows can not be installed on winsrv 2016, it is only for windows10.
      
      any comments?
  • Debug reference project
    2 Posts | Last post October 27, 2016
    • Is it possible to debug referene project? I just added a .net core library project next to the default web app project. The new project has one class Foo.
      I called to constructor of Foo in the HomeController About function. If i put the breakpoint in the About function the debugger stops when i am clicking to About button. If i put the breakpont into the constructor of the Foo class the debugger won't stop. Also i am not able to step into from tha HomeController.
      
      Do i miss something? Or is this a known limitation? 
    • Hi, please add the following snippet to the project.json of the class library project. In order to generate a pdb file to be usable in Linux, the project needs to be declared as portable. This will be default in vNext so you won't need to manually add it.
      
        "buildOptions": {
          "debugType": "portable"
        }
  • docker-compose.yml in one file
    2 Posts | Last post October 27, 2016
    • I've seen some screen shots where docker-compose.yml, docker-compose.dev.debug.yml, and docker-compose.dev.release.yml apear as one file in VS. (similar to the web.config)
      
      Do I need to do something to make this happen?
    • It's currently not supported. We're working on it now.
1 - 10 of 112 Items