Public Repository

Last pushed: a year ago
Short Description
Sample for ASP.NET Core 1.0 with Mysql and Docker
Full Description

Sample for ASP.NET Core 1.0 with Mysql and Docker

This is a sample application for showing ASP.NET Core 1.0 with MYSQL backend and deployed using Docker and Docker-Compose

Source Code

https://github.com/ups216/aspnet-mysql/

How to run?

Make sure you have the following tools installed

  • Docker for Mac/Windows
  • ASP.NET Core 1.0
  • Visual Studio Code
  • node, npm, bower, gulp

Make sure you have ready to connect dockerized host, connect your host

  • on macOS: eval $(docker-machine env {machine-name})
  • on Windows: @FOR /f "tokens=*" %i IN ('docker-machine env {machine-name}') DO @%i

Run the code

  • cd src/aspnet-mysql
  • docker-compose build
  • docker-compose up -d

Open your browser and open http://{docker-machine ip}:5000

Detailed instructions can ben found on my blog

-docker4dotnet #1 前世今生 & 世界你好

-docker4dotnet #2 容器化主机

-Ddocker4dotnet #3 .net猿和小鲸鱼的苹果山之旅

Video Demo

http://v.qq.com/x/page/b031665qwth.html

Docker Pull Command
Owner
ups216

Comments (0)