Skip to content

DeepaAchar/intro-to-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to Docker

This repository hosts the demo code used during the Summer of Tech “Intro to Docker” bootcamp 2025.

This code will run a simple Node.js application. This application will host a single webpage which displays the. version number of the Postgres database being used.

After installing Docker for your respective system, try running these commands to explore:

Command Description
docker run -it node:24 Starts a Node.js Docker container in an interactive mode. This will give a Node.js REPL. You may exit by typing .exit
docker run -it node:24 /bin/bash Starts a Node.js Docker container in an interactive mode. This is an example of passing a custom startup “CMD”, in this case, a bash shell. Try some linux commands like ls and cd to explore the file system. You may exit by typing exit
docker build . -t summer-of-tech Builds an Image from our custom Dockerfile. You can list Docker images with the command docker images
docker compose up Starts the Docker containers defined in docker-compose.yml as a foreground process. Try visiting http://localhost:3000 in your browser. You may type ctrl + c to stop.
docker compose up --detach Starts the Docker containers defined in docker-compose.yml as a background process. Try visiting http://localhost:3000 in your browser. You can check out running processes with docker ps, or stop the process with docker compose stop

About

Demo code used in the Summer of Tech “Intro to Docker” Bootcamp 2025

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.4%
  • Dockerfile 25.6%