Windows Containers


Can I do anything right now to get Visual Studio to deploy to a windows container?


I know the tooling is being developed right now but I'm wanting to demo pushing to a windows container to my team.
Is there a way of configuring the current tooling to do this?
Thanks for the insight.
These are the scenarios we are targeting, but it is still early.
As some background, targeting .NET 4.6 Workloads is a definite plan, and is supported on Windows Server "Core". You'll want to get TP5 to get this running.
Nano Server is our go forward "Cloud OS" and is optimized for small, fast, and just the features you want in a cloud OS. No desktop UI, print/fax servers for instance.
To use Nano Server, you will need .NET Core, as it's the cloud framework we're building.
At this point, TP5 didn't complete support for running Nano Server containers on a Windows Server host. And, likewise you can't yet run Windows Server based containers on Nano Server, but that story will come together.
Our Docker tooling is still finishing up the Linux workloads as we have a stable target to focus upon, and we plan to land our Windows Container tooling just after the summer.
To do this manually, you could look at what we're doing with the http://aka.ms/DockerToolsForVS tooling. If you change the FROM statement in the Dockerfile, you'll be able to at least build the Windows Server image.
However, the breakpoint debugging and Edit & Refresh scenarios won't work. The tooling we've done to date focus on .NET Core. The theory is you don't really need to run your 4.6 workloads in a container, as the Development host, Windows 10, is already
just about the same. Targeting Linux or even Nano server, there are enough differences, we believe we need the Edit & Refresh and Breakpoint debugging features.
Some other data points,
To run your containers locally, for both Windows and Docker, you'll need current builds of Windows 10. While we recognize not all companies have rolled out Win 10 across their user base, targeting Container scenarios is a very new pattern, which requires
changes to the OS. Rather than slow down and support older versions of the OS, we're asking developers working on container workloads to use our current Windows releases. Docker has the same challenge with their Docker for Windows beta, as they really need
features only available in Windows 10.
Hopefully that provides more insight, and why I can't yet give you a direct answer on how to run 4.6 in a Windows Server Core image, just yet. But, I hope to have something out in the next several weeks. So, watch my blog and hopefully I'll have something
soon. http://blogs.msdn.com/SteveLasker
Thank you for the feedback. Your asks do help us validate the direction we're going.
Steve
Hi Naeem,
As you noted, we are working on updating our tooling. There are number of pieces we want to pull together, like the local development environment, running containers locally.
Can you tell me your current environment? Are you running Windows 10? Are you on the Insiders feed, that would have received the Containers feature?
Are you targeting Windows Server, or Nano Server?
Are you looking to use .NET Core, or existing .NET 4.6 projects? This is the surface area we're pulling together, and depending on your environment, we can give a path through in the short term.
We do have a rough walkthrough you can accomplish reading through the Docker Blog posted today: https://blog.docker.com/2016/04/docker-windows-server-tp5/ and the windows Container docs: http://aka.ms/Containers
SteveSteve Lasker - PM/Technical Lead - Microsoft UiFX & Services Team
Hi Steve,
Thanks for replying.
I'm not on the insiders program. I'm running Hyper-V Manager on Windows 8.1. I'm looking to move existing .NET 4.6 projects into containers. I have Visual Studio running in a VM in Hyper-V, i.e. it's not installed on my [host] laptop. I'll be targeting Windows
Server Core although I would like to try Nano Server.
Currently I've been using TP3 (I think) running Windows Server Core. I have been using Docker to manage containers in all the usual ways and tried the same with the PowerShell module, which I understand will be deprecated at some point.
I've signed up for the Docker beta program but not got my invite yet.
I want to be able to F5 a VS project and startup a windows container. I know you guys are building this but can I do anything to do this manually?
Thanks
Thanks for the insight.
These are the scenarios we are targeting, but it is still early.
As some background, targeting .NET 4.6 Workloads is a definite plan, and is supported on Windows Server "Core". You'll want to get TP5 to get this running.
Nano Server is our go forward "Cloud OS" and is optimized for small, fast, and just the features you want in a cloud OS. No desktop UI, print/fax servers for instance.
To use Nano Server, you will need .NET Core, as it's the cloud framework we're building.
At this point, TP5 didn't complete support for running Nano Server containers on a Windows Server host. And, likewise you can't yet run Windows Server based containers on Nano Server, but that story will come together.
Our Docker tooling is still finishing up the Linux workloads as we have a stable target to focus upon, and we plan to land our Windows Container tooling just after the summer.
To do this manually, you could look at what we're doing with the http://aka.ms/DockerToolsForVS tooling. If you change the FROM statement in the Dockerfile, you'll be able to at least build the Windows Server image.
However, the breakpoint debugging and Edit & Refresh scenarios won't work. The tooling we've done to date focus on .NET Core. The theory is you don't really need to run your 4.6 workloads in a container, as the Development host, Windows 10, is already
just about the same. Targeting Linux or even Nano server, there are enough differences, we believe we need the Edit & Refresh and Breakpoint debugging features.
Some other data points,
To run your containers locally, for both Windows and Docker, you'll need current builds of Windows 10. While we recognize not all companies have rolled out Win 10 across their user base, targeting Container scenarios is a very new pattern, which requires
changes to the OS. Rather than slow down and support older versions of the OS, we're asking developers working on container workloads to use our current Windows releases. Docker has the same challenge with their Docker for Windows beta, as they really need
features only available in Windows 10.
Hopefully that provides more insight, and why I can't yet give you a direct answer on how to run 4.6 in a Windows Server Core image, just yet. But, I hope to have something out in the next several weeks. So, watch my blog and hopefully I'll have something
soon. http://blogs.msdn.com/SteveLasker
Thank you for the feedback. Your asks do help us validate the direction we're going.
Steve

Related Links

Mathcadprime 3.1 fails on windowsservercore 2016 TP3 and TP3 (without GUI)
ASP.NET 4.5 support?
NerdDinner ASP.NET MVC application on WindowsServerCore container with TP4
Office 2013 setup does not run on windows server core 2016 TP4 (with GUI) ,neither in silent not GUI mode.
HTTP/2 support in WindowsServerCore image?
PATH Variable Gone
Running ASP .NET Website inside Windows container
Not able to PSRemote into a container (TP4)
TP4 CONTAINER ERROR: failed to initialize: The driver was not loaded because it failed its initialization call. (0x80070287).
Trouble trying to get a ASP .NET Web API project to work on microsoft/iis based docker container.
.NET framework 3.5 or earlier
Is there any tool for Windows Container cluster deployment ? such as : fig / docker compose ...etc on linux platform
Are there known WinNAT issues with container-to-host communication?
Docker microsoft/iis image
Cannot enable printers for windowsservercore container
Docker container - users other than containeradministrator in TP5?

Categories

MSDN
Game Development
.NET Framework
Data Platform Developm...
Smart Device Development
SQL Server (Pre-release)
Windows Forms
Dynamics
Samsung PC
Microsoft Atlas API: D...
Archived Forums M
Archived Forums X-Z
Visual Studio LightSwi...
Test Tools in Visual S...
Submitting and Publish...
Payouts and Reporting
Media Foundation Devel...
Microsoft Message Queu...
Windows Desktop Sideba...
Windows Hardware WDK a...
Windows Desktop Ribbon...
Access for Developers
Outlook for Developers
SharePoint 2013 - Deve...
SharePoint Legacy Vers...
Azure Data Factory
Azure Batch
Azure App Service - AP...
Azure Database for MySQL
Windows Workflow Found...
Team Foundation Server...
The Architect Role
ADO.NET Managed Providers
Internet Explorer Exte...
Microsoft Translator H...
Microsoft Robotics - C...
Microsoft Robotics - D...
Microsoft Robotics - S...
Microsoft Robotics - V...
Windows Mobile Develop...
.NET Framework inside ...
SQL Server Spatial
Standard 7: Embedded E...
SQL Server 2012 Analys...
Windows Forms General
CRM
CRM Development
Orchard - Help and Sup...
App Linking
Bing Maps Web Controls
Project Server - Setup...
Microsoft Lync Persist...
Microsoft Unified Comm...
Programming Silverligh...
Silverlight Controls a...
Performance Profiling ...
Expression Studio with...
Expression Encoder
Microsoft Security Dev...
Retired SharePoint Col...
Project Online General...
Announcements about pr...
Architecture Events
ASMX Web Services and ...
Azure Startups
Crystal Reports for Vi...
Doloto
Game Technologies: Gen...
Hobbyist Zone
Parallel Computing Pla...
Popfly General Discussion
NUI API and Programmin...
Server Core Developers
SyncFx - Microsoft Syn...
Team Foundation Server...
UI Design for Windows ...
Visual C# Express Edition
Visual Studio 2008 Exp...
Visual Studio Applicat...
Visual Studio Database...
Visual Studio Team Sys...
Visual Studio Online "...
Web Gadget Development
Windows MultiPoint Mou...
Building Windows Store...
Building Windows Store...
Building Windows Store...
XNA Game Studio Express
Kinect for Windows v2 SDK
Azure N-Series Virtual...

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile