Challenge 01 - Containers

< Previous Challenge - Home - Next Challenge >

Introduction

This challenge will cover the basics of containers and a container runtime, and get you familiar with the components of the sample application we will use throughout this hack.

Description

The sample application we will use in this hack has three components, as the following picture describes:

app architecture

The web & API components are documented at the links below. Use this documentation for hints on how to deploy them and how they work:

Build & Publish Containers to Azure Container Register

Look in the /api and /web folders of the Resources.zip package provided by your coach to find the source code for the sample application we will use for this hack. You will find a Dockerfile in each folder that you can use to build container images for the API and Web components.

HINT: You do not need to have Docker installed on your workstation to build containers.

Run the Sample Application

You can complete the challenge with either one of these two options:

Option 1: Using your local Docker installation:

For either option, you should be able to access the web frontend in a browser and view it like the screenshot below. If the frontend is able to get the database version through the API it means that the whole chain is working (web -> api -> database):

sample output

NOTE: The two links at the bottom of the page in the picture above will not work at this stage yet.

Success Criteria

Advanced Challenges (Optional)

Learning Resources

These docs might help you achieving these objectives: