Docker basic doubts

Hello all,
Im basically new to docker but, have good experience in C#.

in visual studio 2019 basically i have created new .net core web application with docker enabled. when i run app by clicking “Docker” then browser opens and running web application.
( in earlier days, we click “run from iis” button to run the application then the application run from IIS express.)
then after from command prompt type “docker ps -a” then it shows all containers, " docker images" shows the project as Image. Now my doubt is

I would like to

  1. publish this image into my on-premise server(not cloud) so, please help to achieve this with steps?
  2. publish this image into my azure server so, please help to achieve this with steps?