Join Nate Barbettini for an in-depth discussion in this video Run and monitor a container, part of Deploying ASP.NET Core Applications.
- [Narrator] On a real server, you'll want to run…the container or multiple containers…as background processes.…If we use docker run with the -d flag,…it'll start the container in the background.…We still need -p to map the porch…from inside the container to our local machine,…and we'll specify the name of the image to start up.…We can use docker ps to monitor the status…of this running container.…The output of docker ps is usually too wide…for a single window, so I like to use…the --format command to make it a little bit easier to read.…
I prefer using table .Names….Image….Status…and .Ports.…This just customizes what output docker ps…will send to the screen.…So that's a little bit more readable.…This tells us that this image, hellocoreworld,…was spun up into the container called hungry_kare.…It's been up for about 40 seconds,…and it has internal port 5000 mapped…to external port 5000.…
We can use docker ps to monitor…the status of this container…or we can use docker stop followed…by the generated container name,…hungry_kare in this case,…
- Setting up your ASP.NET project
- Setting up IIS
- Creating an IIS site and app pool
- Publishing your app with Visual Studio or the command line
- Deploying to Azure
- Deploying to Linux
- Deploying with Docker
Skill Level Intermediate
1. Get Started
2. Deploying to IIS
3. Deploying to Azure
Get started with Azure1m 4s
4. Deploying to Linux
5. Deploying with Docker
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.