Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 774 Bytes

Demo-Nodejs.md

File metadata and controls

27 lines (17 loc) · 774 Bytes

AZ-204 Demo: Run Docker image locally

In the demo you will create new image from web site

Before delivery:

  • Install Docker Desktop
  • Open in VS Code Nodejs folder with web site.
  • Test that site is running by use play button

In class:

  1. Docker desktop must be run.
  2. Open in VS Code Nodejs folder with web site.
  3. Run the web site locally by use play button. http://localhost:9090

localhost

  1. Open/Create DockerFile.
  2. Open run.azcli to build image. Script should be executed in the project folder.
  3. Run line by line and explain result.
  4. Open localhost to make sure that container created and run successful.

local docker imageS

  1. Run the command from script to list the images stored locally.