Running the ASP. NET Core Web API application in Docker (with AWS Windows Server Widt container actual case)

Source: Internet
Author: User
Environment preparation

1. Amazon EC2 Windows Server with Container

2. Visual Studio Enterprise (profresianal to install update 3)

3.. NET Core 1.0.0–vs Tooling Preview 2. Please click here to install

4. Microsoft. NET Core SDK, can download and install to Microsoft Official website

Experimental steps

First, Docker environment preparation

Amazon EC2 Windows Server with container has built-in Docker, as follows:

Click Search in the lower left corner of Windows-"Enter Server Manager",

On dashboard Right click Add Role or Featurn

This is not the same as the previous server, roles and features are added together. Here is the next step, found that Hyper-V in roles is not enabled, many people say to enable, here I do not enable

There's a container in features, and this is Docker.

Verify that Docker is installed, under CMD under the bridge below the following command to verify:

Docker info can be identified and executed, indicating that Docker has been installed successfully.

Running the ASP. NET Core Web API application in Docker (with AWS Windows Server Widt container actual case)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.