Explorations with dotnet and docker. See the buildAndRunDockerImage.ps1 script
Explore Docker Compose
dotnet run
dotnet publish -c Release
New-Item -ItemType File -Path ./newfile.txt
docker build -t counter-image -f Dockerfile .
docker images
docker create --name core-counter counter-image
docker ps -a
docker ps -a --filter="name=nginx-base"
docker start core-counter
docker attach --sig-proxy=false core-counter # make sure the ctrl+c will not stop the container
docker rm core-counter
docker ps -a --format '{{json .Names}} # use {{json .}} to get all field values
docker container ls
docker run -it --rm counter-image # use ctl+c to break out