Skip to content

yusufEk1n/ContainerizeDotnetApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Containerize a .NET App

Demonstration of .net on docker for console app.

How does it work?

Open terminal in the directory containing the Dockerfile.

Run the following command

docker build -t <image-name> -f Dockerfile .

Create the new container using following command

docker create --name <container-name> <image-name>

Start the container

docker start --attach <container-name>

Container Working Tree

📁 App
    ├── DotNet.Docker
    ├── DotNet.Docker.deps.json
    ├── DotNet.Docker.dll
    ├── DotNet.Docker.pdb
    ├── DotNet.Docker.runtimeconfig.json

Releases

No releases published

Packages

No packages published