/bash-scripting

Env setup, Notes, and Scripts associated with Bash Scripting Udemy Course

Primary LanguageShell

Linux Bash Scripts

All notes are based off this Udemy course:

https://www.udemy.com/course/linux-shell-scripting-projects/learn/lecture/7997500#overview

Course ENV Setup

Standing up multiple Linux nodes is important during networking aspects so using Docker and Docker Compose will allow for a quicks setup.

Install Docker

Install Docker based on your OS and situation

Build the Docker Image

From the root of this project

docker build -t linux-course-image .

Start the Containers

Get the containers up in detached mode

docker-compose up -d

Navigate the Containers

To shell into a specific container

docker exec -ti linux-course-image-<1/2/3> /bin/bash

Cleanup

Stop and remove all containers

docker-compose rm -fsv

Course Notes