Join Nate Barbettini for an in-depth discussion in this video Save an image to a file, part of Deploying ASP.NET Core Applications (2017).
- [Man] We've built a number of images using docker build,…but these are all stored locally on our machine.…What if we need to transfer this image to another machine…to push it to a production server, for example.…That's where the docker save command comes in.…If we run docker images, we can see all the images…that I've stored locally on this machine.…To export or save one of these, we can run…docker save dash O, to specify an output file name,…in this case I'll call it hellocore.tar,…and specify the image I want to save out.…This command will save a tar ball of the image…as a single file on the file system, that you can then…easily transport to another computer.…
This command can take a few minutes,…especially if it's a large image.…In my case, it's almost 600 megabytes.…When it's done, we can see the file on the file system,…600 megabytes of image there.…The opposite of the Save command is the Load command.…I can use docker load dash i in the file name…to load that image back into docker,…and get it ready for deployment.…
- 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.