Docker
  • Introduction
    • What is Virtualization?
      • What is a Hypervisor?
      • Microsoft Hyper-V
    • What is Containerization?
      • What is docker?
      • What is a container image?
      • When to use containers?
      • When not to use Docker containers
  • Basics
    • ▶️Pull and run an image
      • Trivia
    • Basic docker commands
    • Container life cycle
  • Build an Image
    • ▶️Console app experiment
      • Hello-world image
    • What is a docker file?
      • Our docker file explained
    • ▶️Web app experiment
      • Create application
      • Create a docker file
      • Build an image
      • Run your image
      • Manipulating containers
  • Layers & Stages
    • Introduction
    • Image layers
    • Multistage images
Powered by GitBook
On this page
  1. Build an Image

Console app experiment

Overview

previously we looked at pulling a pre existing image and running it. Now, let us look at the steps involved in creating our own image and then running it.

This image we will build will have simple Dotnet command line application in it which will just display hello world message. First, we will create and test the application locally and then we will containerize it by creating a docker image with it.

PreviousContainer life cycleNextHello-world image

Last updated 1 year ago

▶️