I am following the instructions on Migrating ASP.NET MVC Applications to Windows Containers
I used
docker pull microsoft/aspnet
and it seemed to download correctly.
I am trying to follow the instruction "When you run this image in your container"
when I type
docker run 5e
I get the following screen which seems to have locked up.
Am I typing the right thing?
When I run
docker images
I see that the microsoft/aspnet has tag "latest"
Another image also has the tag "latest"
If I type
docker run -it --name myapp 5e
then I see the same thing as previously but ending with the line "Service 'w3svc' was started
Thus it seems the -it command is helpful to making me feel like I have started the container successfully.
I can't actually get help on what "-it" does because it is not listed when I run
docker run --help
Though I understand it to mean "interactive terminal"
The phrase "run an image in a container" has me confused. Would it be more appropriate to say "Create a container from an image and run it" ?