Skip to content

webmasterdevlin/asp-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerizing a ASP.NET Web API

Login to Docker Hub

$ docker login

create an ASP.NET Web API container

$ docker build -t {yourDockerUsername}/asp-api:1.0.0 .

Test the ASP.NET Web API container by running it. It should be visible at localhost:8080

$ docker run -p 8080:80 {yourDockerUsername}/asp-api:1.0.0

Push the container to your Docker Hub account repository

$ docker push {yourDockerUsername}/asp-api:1.0.0

About

Sample JSON response at /

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published