Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 1.41 KB

README.md

File metadata and controls

17 lines (10 loc) · 1.41 KB

Welcome 💫

This repo is associated with the Docker Undocked workshop conducted by HSP, PESU Electronic City Campus. You can find the article that this repo is based on here.

The repo consists of three sections:

1. A simple example to introduce the participants of the workshop and readers to the Dockerfile:

This example dockerises a basic NodeJS + Express application using a lightweight node + alpine base image and exploiting the features of Docker image layers and caching for fatser build times.

2. A full-stack MERN application broken into containers that are up by Docker Compose:

This is a simple MERN stack To-Do application put behind an Nginx Docker container as a reverse proxy so that our React and backend services/containers can be accesses over a browser. The design for this application when it is running on the Docker Playground:

Compose Example Design

3. Build a container from scratch with Python:

Inspired by several Go implementations of the same, this example with Python currently forks a process and isolates it with its own PID, UTS and MNT namespaces. Readers are free to contribute to this code as we're looking for, to be specific, code to chroot the isolated process successfully and to assign it cgroups.