These are docker run examples for my need(run docker container that mounts the host file system without using .Dockerfile):
1. Run docker Nginx container:
docker run -d -p 88:80 -v X:codedocker ginx est1:/usr/share/nginx/html:ro nginx
2. Run docker .NET Core 3.1 runtime:
docker run -p 88:80 -v xxx:/app mcr.microsoft.com/dotnet/core/runtime:3.1-buster-slim dotnet /app/MyTest.dll
NOTE: if you wanna publish again and don't create a container again, please use 'docker restart'.