Demonstration of .net on docker for console app.
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>
📁 App ├── DotNet.Docker ├── DotNet.Docker.deps.json ├── DotNet.Docker.dll ├── DotNet.Docker.pdb ├── DotNet.Docker.runtimeconfig.json